diff options
author | paltherr <paltherr@epfl.ch> | 2004-08-30 14:18:10 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-08-30 14:18:10 +0000 |
commit | 80cee61ed3569c06b3b3ca4e5a600c94ccc4f6c7 (patch) | |
tree | ae15ad052dca97bb781941c91e6b32d7572f27de /test/files/neg/tests.check | |
parent | 97fcb93af10873a96ec0f3ae71c7a14ca860bbd9 (diff) | |
download | scala-80cee61ed3569c06b3b3ca4e5a600c94ccc4f6c7.tar.gz scala-80cee61ed3569c06b3b3ca4e5a600c94ccc4f6c7.tar.bz2 scala-80cee61ed3569c06b3b3ca4e5a600c94ccc4f6c7.zip |
- Added tests on blocks
Diffstat (limited to 'test/files/neg/tests.check')
-rw-r--r-- | test/files/neg/tests.check | 16 |
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 |