mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-28 18:45:26 +08:00
12 lines
245 B
Java
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;
|
||
|
}
|
||
|
}
|