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