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

19 lines
363 B
Java

public class G19990304_01
{
public static void main (String[] args)
{
Object[] arrayObj = new String[3];
String[] arrayStr = new String[3];
try
{
System.out.println ("pass 1");
arrayObj[0] = arrayStr;
}
catch (RuntimeException e)
{
System.out.println ("RuntimeException");
}
System.out.println ("pass 2");
}
}