summaryrefslogtreecommitdiff
path: root/test/files/neg/t696b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t696b.check')
-rw-r--r--test/files/neg/t696b.check9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/t696b.check b/test/files/neg/t696b.check
new file mode 100644
index 0000000000..fcdb5440d8
--- /dev/null
+++ b/test/files/neg/t696b.check
@@ -0,0 +1,9 @@
+t696b.scala:5: error: diverging implicit expansion for type TypeUtil0.Type[Any]
+starting with method WithType in object TypeUtil0
+ as[Any](null)
+ ^
+t696b.scala:6: error: diverging implicit expansion for type TypeUtil0.Type[X]
+starting with method WithType in object TypeUtil0
+ def foo[X]() = as[X](null)
+ ^
+two errors found