summaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile/final_local_switch.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile/final_local_switch.java')
-rw-r--r--libjava/testsuite/libjava.compile/final_local_switch.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/libjava/testsuite/libjava.compile/final_local_switch.java b/libjava/testsuite/libjava.compile/final_local_switch.java
deleted file mode 100644
index c4a4de6ab36..00000000000
--- a/libjava/testsuite/libjava.compile/final_local_switch.java
+++ /dev/null
@@ -1,16 +0,0 @@
-// This bug was discovered while working on java/1413 (compiling freetds.)
-// http://gcc.gnu.org/ml/java-prs/2000-q4/msg00156.html
-// The following code should build.
-
-class final_local_switch {
- void foo (int type) {
- final byte CHARSET_CHANGE = (byte)3;
- final byte CHARSET_CHANGES = (byte)4;
- switch (type) {
- case CHARSET_CHANGE:
- break;
- case CHARSET_CHANGES:
- break;
- }
- }
-}