dgrove@google.com | ebe4394 | 2011-10-05 06:22:36 +0000 | [diff] [blame] | 1 | // 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 | |
| 5 | class StringUnicode4NegativeTest { |
| 6 | |
| 7 | static testMain() { |
Lasse R.H. Nielsen | 574ae43 | 2016-09-26 13:23:41 +0200 | [diff] [blame] | 8 | // Unicode escapes must refer to valid Unicode points. |
dgrove@google.com | ebe4394 | 2011-10-05 06:22:36 +0000 | [diff] [blame] | 9 | String str = "Foo\u{FFFFFF}"; |
dgrove@google.com | ebe4394 | 2011-10-05 06:22:36 +0000 | [diff] [blame] | 10 | } |
| 11 | } |
| 12 | |
| 13 | main() { |
| 14 | StringUnicode4NegativeTest.testMain(); |
| 15 | } |