summaryrefslogtreecommitdiff
path: root/test/neg/cyclic.check
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2003-06-04 14:53:23 +0000
committerMartin Odersky <odersky@gmail.com>2003-06-04 14:53:23 +0000
commit3a593c580c9a23b3654ea3391fb22afa85db0697 (patch)
tree193a2614a7a55cd4e5304a22e7761c88ba23f6e6 /test/neg/cyclic.check
parent6af6dae0df106de569e9b9cf503b3350722e58eb (diff)
downloadscala-3a593c580c9a23b3654ea3391fb22afa85db0697.tar.gz
scala-3a593c580c9a23b3654ea3391fb22afa85db0697.tar.bz2
scala-3a593c580c9a23b3654ea3391fb22afa85db0697.zip
*** empty log message ***
Diffstat (limited to 'test/neg/cyclic.check')
-rw-r--r--test/neg/cyclic.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/neg/cyclic.check b/test/neg/cyclic.check
new file mode 100644
index 0000000000..2c23c8b26a
--- /dev/null
+++ b/test/neg/cyclic.check
@@ -0,0 +1,4 @@
+cyclic.scala:3: illegal cyclic reference involving type T
+ type T = List[T];
+ ^
+one error found