mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:41:19 +00:00
574ae435f3
Fixes issue #26620 BUG: http://dartbug.com/26620 R=asiva@google.com, brianwilkerson@google.com, floitsch@google.com, hausner@google.com, sigmund@google.com Review URL: https://codereview.chromium.org/2304923002 .
16 lines
427 B
Dart
16 lines
427 B
Dart
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
class StringUnicode4NegativeTest {
|
|
|
|
static testMain() {
|
|
// Unicode escapes must refer to valid Unicode points.
|
|
String str = "Foo\u{FFFFFF}";
|
|
}
|
|
}
|
|
|
|
main() {
|
|
StringUnicode4NegativeTest.testMain();
|
|
}
|