summaryrefslogtreecommitdiff
path: root/test/neg/dep.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/neg/dep.check')
-rw-r--r--test/neg/dep.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/neg/dep.check b/test/neg/dep.check
new file mode 100644
index 0000000000..f6a2361121
--- /dev/null
+++ b/test/neg/dep.check
@@ -0,0 +1,4 @@
+dep.scala:5: type x.type escapes its defining scope as part of x.t
+ def foo(x: C, y: x.t): Object = null;
+ ^
+one error found