Retro68/gcc/libjava/testsuite/libjava.lang/klass.java

11 lines
223 B
Java
Raw Normal View History

2012-03-27 23:13:14 +00:00
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));
}
}