blob: c7bdf6002bcc333c22e158f280807fc919bbc968 [file] [log] [blame]
dgrove@google.comebe43942011-10-05 06:22:36 +00001// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5class StringUnicode4NegativeTest {
6
7 static testMain() {
Lasse R.H. Nielsen574ae432016-09-26 13:23:41 +02008 // Unicode escapes must refer to valid Unicode points.
dgrove@google.comebe43942011-10-05 06:22:36 +00009 String str = "Foo\u{FFFFFF}";
dgrove@google.comebe43942011-10-05 06:22:36 +000010 }
11}
12
13main() {
14 StringUnicode4NegativeTest.testMain();
15}