From ee9dd3721be68b9fa63dea9aa5a1d86e66958cde Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 7 Apr 1999 14:42:40 +0000 Subject: Initial revision From-SVN: r26263 --- libjava/testsuite/libjava.compile/Case.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/Case.java (limited to 'libjava/testsuite/libjava.compile/Case.java') diff --git a/libjava/testsuite/libjava.compile/Case.java b/libjava/testsuite/libjava.compile/Case.java new file mode 100644 index 0000000..c5eb1d5 --- /dev/null +++ b/libjava/testsuite/libjava.compile/Case.java @@ -0,0 +1,15 @@ +// 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; + } + } +} -- cgit v1.1