mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-26 03:59:10 +08:00
16 lines
179 B
Java
16 lines
179 B
Java
|
// 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;
|
||
|
}
|
||
|
}
|
||
|
}
|