mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 05:19:02 +08:00
b5fba37d0f
* libjava.lang/klass.out: New file. * libjava.lang/klass.java: New file. From-SVN: r31333
11 lines
223 B
Java
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));
|
|
}
|
|
}
|