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 /test/files/pos/compile.scala | |
parent | 3fcadde1cd70c82969cbcd79bcb3a7fd1ae8cdba (diff) | |
download | scala-88ec34baba2ba63da9e3f0da1408c919fa92befd.tar.gz scala-88ec34baba2ba63da9e3f0da1408c919fa92befd.tar.bz2 scala-88ec34baba2ba63da9e3f0da1408c919fa92befd.zip |
- Added pos/compile.scala
Diffstat (limited to 'test/files/pos/compile.scala')
-rw-r--r-- | test/files/pos/compile.scala | 17 |
1 files changed, 17 insertions, 0 deletions
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]); +} + +//############################################################################ |