gcc/libjava/testsuite/libjava.lang/assign.java
Tom Tromey c93139b826 re PR libgcj/10582 (array assignment fails in some situations)
PR libgcj/10582:
	* libjava.lang/assign.java: New file.
	* libjava.lang/assign.out: New file.

From-SVN: r66347
2003-05-01 21:31:58 +00:00

20 lines
294 B
Java

// Test for an array assignment bug we've had.
public class assign
{
public static class base
{
}
public static class derived extends base
{
}
public static void main(String[] args)
{
base[][] x1 = new base[3][3];
derived[] x2 = new derived[3];
x1[0] = x2;
}
}