OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [utf8concat.java] - Blame information for rev 781

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.