mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02: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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|