aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-02-19 17:28:31 +0100
committerMartin Odersky <odersky@gmail.com>2016-02-19 17:28:31 +0100
commit6f382a51a522673de75d154da2632108e7a1016c (patch)
tree53d0841a809c142f8bfc534a77885c0f99316e0f /tests
parent97e261d17bb260cd0db4708199118d7039e442fa (diff)
downloaddotty-6f382a51a522673de75d154da2632108e7a1016c.tar.gz
dotty-6f382a51a522673de75d154da2632108e7a1016c.tar.bz2
dotty-6f382a51a522673de75d154da2632108e7a1016c.zip
Add error markers
Diffstat (limited to 'tests')
-rw-r--r--tests/neg/i997a.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/neg/i997a.scala b/tests/neg/i997a.scala
index 582c8d0e6..eae56400f 100644
--- a/tests/neg/i997a.scala
+++ b/tests/neg/i997a.scala
@@ -11,9 +11,9 @@ class C {
import O._
- println(O.CC(1))
+ println(O.CC(1)) // error: CC cannot be accessed
- val s: Super = 1
+ val s: Super = 1 // error: type mismatch
}