gcc/libjava/testsuite/libjava.compile/Case.java

16 lines
179 B
Java
Raw Normal View History

1999-04-07 22:42:40 +08:00
// Simple compiler test.
public class Case
{
public static int foo (int i, support.Case x)
{
switch (i)
{
case x.A:
return 1;
default:
return 0;
}
}
}