source:
trunk/gcc/libjava/testsuite/libjava.compile/Case.java@
3186
| Last change on this file since 3186 was 2, checked in by , 23 years ago | |
|---|---|
|
|
| File size: 179 bytes | |
| Line | |
|---|---|
| 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 | } |
Note:
See TracBrowser
for help on using the repository browser.
