summaryrefslogtreecommitdiff
path: root/test/files/neg/tests.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/tests.check')
-rw-r--r--test/files/neg/tests.check16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/files/neg/tests.check b/test/files/neg/tests.check
new file mode 100644
index 0000000000..7f1427cf6a
--- /dev/null
+++ b/test/files/neg/tests.check
@@ -0,0 +1,16 @@
+tests.scala:29: package java is not a value
+ {System.out.print(11); java}.lang.System.out.println();
+ ^
+tests.scala:30: package lang is not a value
+ {System.out.print(12); java.lang}.System.out.println();
+ ^
+tests.scala:31: object System is not a value
+ {System.out.print(13); java.lang.System}.out.println();
+ ^
+tests.scala:37: package test0 is not a value
+ {System.out.print(21); test0}.bar.System.out.println();
+ ^
+tests.scala:38: package bar is not a value
+ {System.out.print(22); test0.bar}.System.out.println();
+ ^
+5 errors found