summaryrefslogtreecommitdiff
path: root/test/files/neg/t0590.check
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2008-06-19 18:01:38 +0000
committerMartin Odersky <odersky@gmail.com>2008-06-19 18:01:38 +0000
commit3a824805c46be0ff845fcccc95bfb9eaf4434705 (patch)
tree5062541057f7aeaa1b21d046e8a7934e77565b4b /test/files/neg/t0590.check
parent6ea801d8688a15b30302fde898119407c70e96e7 (diff)
downloadscala-3a824805c46be0ff845fcccc95bfb9eaf4434705.tar.gz
scala-3a824805c46be0ff845fcccc95bfb9eaf4434705.tar.bz2
scala-3a824805c46be0ff845fcccc95bfb9eaf4434705.zip
fix^2 of t0590
Diffstat (limited to 'test/files/neg/t0590.check')
-rw-r--r--test/files/neg/t0590.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t0590.check b/test/files/neg/t0590.check
new file mode 100644
index 0000000000..b928c1cb76
--- /dev/null
+++ b/test/files/neg/t0590.check
@@ -0,0 +1,5 @@
+t0590.scala:2: error: diverging implicit expansion for type (Null(null)) => T
+starting with method foo in object Test
+ implicit def foo[T] : T = null
+ ^
+one error found