source:
trunk/src/gcc/libjava/testsuite/libjava.lang/utf8concat.java@
1389
| Last change on this file since 1389 was 1389, checked in by , 22 years ago | |
|---|---|
|
|
| File size: 245 bytes | |
| Line | |
|---|---|
| 1 | public class utf8concat |
| 2 | { |
| 3 | private static String s; |
| 4 | |
| 5 | public static void main (String[] args) |
| 6 | { |
| 7 | // This causes a crash at runtime because the compiler is |
| 8 | // producing an invalid UTF-8 string literal. |
| 9 | s = "abc" + (char)183; |
| 10 | } |
| 11 | } |
Note:
See TracBrowser
for help on using the repository browser.
