aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/neg/i1701.scala6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/neg/i1701.scala b/tests/neg/i1701.scala
index 523191000..6b5e04692 100644
--- a/tests/neg/i1701.scala
+++ b/tests/neg/i1701.scala
@@ -1,3 +1,5 @@
trait Foo {
- def test (x : test) : Int
-} \ No newline at end of file
+ def test (x : test) : Int // error: not found test
+ def f(x : src) : Int // error
+ def g(x : src.project) : Int // error
+}