summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/utf8concat.java
blob: 8b8f47ee1a0c44edaf475bd4d6cd0c6cd732d822 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;
  }
}