1 // Simple compiler test. 2 3 public class Case 4 { foo(int i, support.Case x)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 } 16