Retro68/gcc/libjava/testsuite/libjava.lang/utf8concat.java
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

12 lines
245 B
Java

public class utf8concat
{
private static String s;
public static void main (String[] args)
{
// This causes a crash at runtime because the compiler is
// producing an invalid UTF-8 string literal.
s = "abc" + (char)183;
}
}