diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2005-12-16 18:20:15 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2005-12-16 18:20:15 +0000 |
commit | 17e2b1c2a6f69ba74e79c30d1e44195fe732e3e3 (patch) | |
tree | bb804b4038eb6d0dee58b77cea8bd2dcc6f42dc4 /test/files/neg/tests.scala | |
parent | e70a1a24ef7a7b596a92e1853fd44e96f36ad245 (diff) | |
download | scala-17e2b1c2a6f69ba74e79c30d1e44195fe732e3e3.tar.gz scala-17e2b1c2a6f69ba74e79c30d1e44195fe732e3e3.tar.bz2 scala-17e2b1c2a6f69ba74e79c30d1e44195fe732e3e3.zip |
Removed old scala tests from new Scala core mod...
Removed old scala tests from new Scala core module.
Diffstat (limited to 'test/files/neg/tests.scala')
-rw-r--r-- | test/files/neg/tests.scala | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/test/files/neg/tests.scala b/test/files/neg/tests.scala deleted file mode 100644 index 9b70a0ee19..0000000000 --- a/test/files/neg/tests.scala +++ /dev/null @@ -1,56 +0,0 @@ -//############################################################################ -// Compile Time Errors -//############################################################################ -// $Id$ - -import java.lang.System; // to avoid name clash with .NET's library - -//############################################################################ -// Test 0 - Block Qualifiers - -package test0.bar { - - object System { - val out: PrintStream = new PrintStream(); - } - - class PrintStream() { - def println(): Unit = { - java.lang.System.out.println(); - } - } - -} - -object Test0Test { - - def main(args: Array[String]): Unit = { - {System.out.print(10)}; java.lang.System.out.println(); - {System.out.print(11); java}.lang.System.out.println(); - {System.out.print(12); java.lang}.System.out.println(); - {System.out.print(13); java.lang.System}.out.println(); - {System.out.print(14); java.lang.System.out}.println(); - {System.out.print(15); java.lang.System.out.println:(() => Unit)}(); - {System.out.print(16); java.lang.System.out.println()}; - - {System.out.print(20)}; test0.bar.System.out.println(); - {System.out.print(21); test0}.bar.System.out.println(); - {System.out.print(22); test0.bar}.System.out.println(); - {System.out.print(23); test0.bar.System}.out.println(); - {System.out.print(24); test0.bar.System.out}.println(); - {System.out.print(25); test0.bar.System.out.println:(() => Unit)}(); - {System.out.print(26); test0.bar.System.out.println()}; - } - -} - -//############################################################################ -// Test 1 - References to Generated Classes - -trait Test1 { - def a: Any = new scala.Tuple2$class(1,1); - def b: scala.Predef$$anon$7; - def c: scala.List$Class; -} - -//############################################################################ |