mirror of
https://github.com/openRuyi-Project/gcc.git
synced 2026-06-16 08:25:51 +00:00
ee9dd3721b
From-SVN: r26263
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;
|
|
}
|
|
}
|
|
}
|