OSDN Git Service

Initial revision
[pf3gnuchains/gcc-fork.git] / libjava / testsuite / libjava.compile / Case.java
1 // Simple compiler test.
2
3 public class Case 
4 {
5   public static int foo (int i, support.Case x)
6     {
7       switch (i)
8         {
9         case x.A:
10           return 1;
11         default:
12           return 0;
13         }
14     }
15 }