source: trunk/gcc/libjava/testsuite/libjava.compile/Case.java

Last change on this file was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 179 bytes
Line 
1// Simple compiler test.
2
3public 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}
Note: See TracBrowser for help on using the repository browser.