summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg')
-rw-r--r--test/files/neg/bug0418.check7
-rw-r--r--test/files/neg/bug0418.scala3
2 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/bug0418.check b/test/files/neg/bug0418.check
new file mode 100644
index 0000000000..08bd24bf29
--- /dev/null
+++ b/test/files/neg/bug0418.check
@@ -0,0 +1,7 @@
+bug0418.scala:2: error: not found: value Foo12340771
+ null match { case Foo12340771.Bar(x) => x }
+ ^
+bug0418.scala:2: error: not found: value x
+ null match { case Foo12340771.Bar(x) => x }
+ ^
+two errors found
diff --git a/test/files/neg/bug0418.scala b/test/files/neg/bug0418.scala
new file mode 100644
index 0000000000..67007010d4
--- /dev/null
+++ b/test/files/neg/bug0418.scala
@@ -0,0 +1,3 @@
+object Test {
+ null match { case Foo12340771.Bar(x) => x }
+}