summaryrefslogtreecommitdiff
path: root/test/files/neg/unreachablechar.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/unreachablechar.scala')
-rw-r--r--test/files/neg/unreachablechar.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/neg/unreachablechar.scala b/test/files/neg/unreachablechar.scala
new file mode 100644
index 0000000000..94438ce321
--- /dev/null
+++ b/test/files/neg/unreachablechar.scala
@@ -0,0 +1,8 @@
+object Foo extends Application{
+ 'f' match {
+ case 'o'|'c'|'b' => println("Oooo");
+ case _ => println("stuff");
+ case 'f' => println("not stuff?");
+ }
+
+}