aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs170
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs170')
-rw-r--r--tests/bugs170/pr376139/Code.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bugs170/pr376139/Code.java b/tests/bugs170/pr376139/Code.java
new file mode 100644
index 000000000..b3c97378e
--- /dev/null
+++ b/tests/bugs170/pr376139/Code.java
@@ -0,0 +1,10 @@
+enum Color { R,G,B; }
+
+public class Code {
+
+ public static void main(String[] argv) {
+ Color c = Color.R;
+ switch (c) {
+ }
+ }
+}