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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [utf8concat.java] - Rev 765

Compare with Previous | Blame | View Log

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;
  }
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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