diff options
author | paltherr <paltherr@epfl.ch> | 2004-01-08 13:08:25 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2004-01-08 13:08:25 +0000 |
commit | 88ec34baba2ba63da9e3f0da1408c919fa92befd (patch) | |
tree | ac46b44d9a2b9f2e070e0ffdc5c87622929c6288 | |
parent | 3fcadde1cd70c82969cbcd79bcb3a7fd1ae8cdba (diff) | |
download | scala-88ec34baba2ba63da9e3f0da1408c919fa92befd.tar.gz scala-88ec34baba2ba63da9e3f0da1408c919fa92befd.tar.bz2 scala-88ec34baba2ba63da9e3f0da1408c919fa92befd.zip |
- Added pos/compile.scala
-rw-r--r-- | config/list/test-pos.lst | 1 | ||||
-rw-r--r-- | test/files/pos/compile.scala | 17 | ||||
-rw-r--r-- | test/pos/compile.scala | 17 |
3 files changed, 35 insertions, 0 deletions
diff --git a/config/list/test-pos.lst b/config/list/test-pos.lst index 5dfc892bef..c70eb58658 100644 --- a/config/list/test-pos.lst +++ b/config/list/test-pos.lst @@ -44,6 +44,7 @@ pos/bug76.scala pos/cls.scala pos/cls1.scala pos/clsrefine.scala +pos/compile.scala pos/eta.scala pos/exceptions.scala pos/expressions-current.scala diff --git a/test/files/pos/compile.scala b/test/files/pos/compile.scala new file mode 100644 index 0000000000..7b493bacc9 --- /dev/null +++ b/test/files/pos/compile.scala @@ -0,0 +1,17 @@ +//############################################################################ +// Compile Time Bugs +//############################################################################ +// $Id$ + +//############################################################################ +// Test 0 + +class Test0Foo[X]; + +object Test0Test { + type Gen[A] = Test0Foo[A]; + class Tic(g: Test0Test.Gen[Int]); + class Tac(g: Gen[Int]); +} + +//############################################################################ diff --git a/test/pos/compile.scala b/test/pos/compile.scala new file mode 100644 index 0000000000..7b493bacc9 --- /dev/null +++ b/test/pos/compile.scala @@ -0,0 +1,17 @@ +//############################################################################ +// Compile Time Bugs +//############################################################################ +// $Id$ + +//############################################################################ +// Test 0 + +class Test0Foo[X]; + +object Test0Test { + type Gen[A] = Test0Foo[A]; + class Tic(g: Test0Test.Gen[Int]); + class Tac(g: Gen[Int]); +} + +//############################################################################ |