summaryrefslogtreecommitdiff
path: root/test/files/neg/bug677.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug677.check')
-rw-r--r--test/files/neg/bug677.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/bug677.check b/test/files/neg/bug677.check
new file mode 100644
index 0000000000..fc90bc3a33
--- /dev/null
+++ b/test/files/neg/bug677.check
@@ -0,0 +1,6 @@
+bug677.scala:2 error: type mismatch;
+ found : () => scala.Int
+ required: scala.All
+ val zx: All = {() => 4}
+ ^
+one error found