aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/i1701.scala
diff options
context:
space:
mode:
authorliu fengyun <liu@fengy.me>2016-11-17 08:22:57 +0100
committerliu fengyun <liu@fengy.me>2016-11-17 08:22:57 +0100
commit51be882adb6f055c1cf924167f8fab7edb82d721 (patch)
tree6b968ead332f6af9923d056e11db7f6a1e33ff1b /tests/neg/i1701.scala
parent2cd44974e49776f64939bec3727e2d01cc746bf2 (diff)
downloaddotty-51be882adb6f055c1cf924167f8fab7edb82d721.tar.gz
dotty-51be882adb6f055c1cf924167f8fab7edb82d721.tar.bz2
dotty-51be882adb6f055c1cf924167f8fab7edb82d721.zip
fix neg test i1701.scala
Diffstat (limited to 'tests/neg/i1701.scala')
-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
+}