aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/i1701.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/neg/i1701.scala')
-rw-r--r--tests/neg/i1701.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/neg/i1701.scala b/tests/neg/i1701.scala
new file mode 100644
index 000000000..6b5e04692
--- /dev/null
+++ b/tests/neg/i1701.scala
@@ -0,0 +1,5 @@
+trait Foo {
+ def test (x : test) : Int // error: not found test
+ def f(x : src) : Int // error
+ def g(x : src.project) : Int // error
+}