summaryrefslogtreecommitdiff
path: root/test/files/pos/compile.scala
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-01-08 13:08:25 +0000
committerpaltherr <paltherr@epfl.ch>2004-01-08 13:08:25 +0000
commit88ec34baba2ba63da9e3f0da1408c919fa92befd (patch)
treeac46b44d9a2b9f2e070e0ffdc5c87622929c6288 /test/files/pos/compile.scala
parent3fcadde1cd70c82969cbcd79bcb3a7fd1ae8cdba (diff)
downloadscala-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.scala17
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]);
+}
+
+//############################################################################