gcc/libjava/testsuite/libjava.lang/klass.java
Tom Tromey b5fba37d0f klass.out: New file.
* libjava.lang/klass.out: New file.
	* libjava.lang/klass.java: New file.

From-SVN: r31333
2000-01-11 18:58:49 +00:00

11 lines
223 B
Java

public class klass
{
public static void main (String[] args)
{
Class ic1 = Integer.TYPE;
int[] foo = new int[3];
Class ic2 = foo.getClass().getComponentType();
System.out.println(ic1.equals(ic2));
}
}