mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
G19990304_01.out: New file.
* libjava.toshiba/G19990304_01.out: New file. * libjava.toshiba/G19990304_01.java: New file. From-SVN: r28870
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
1999-08-25 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* libjava.toshiba/G19990304_01.out: New file.
|
||||
* libjava.toshiba/G19990304_01.java: New file.
|
||||
|
||||
* libjava.lang/G19990310_01.out: New file.
|
||||
* libjava.lang/G19990310_01.java: New file.
|
||||
|
||||
|
||||
18
libjava/testsuite/libjava.lang/G19990304_01.java
Normal file
18
libjava/testsuite/libjava.lang/G19990304_01.java
Normal file
@@ -0,0 +1,18 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
3
libjava/testsuite/libjava.lang/G19990304_01.out
Normal file
3
libjava/testsuite/libjava.lang/G19990304_01.out
Normal file
@@ -0,0 +1,3 @@
|
||||
pass 1
|
||||
RuntimeException
|
||||
pass 2
|
||||
Reference in New Issue
Block a user