summaryrefslogtreecommitdiff
path: root/test/files/neg/bug85.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug85.check')
-rwxr-xr-xtest/files/neg/bug85.check11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/neg/bug85.check b/test/files/neg/bug85.check
new file mode 100755
index 0000000000..2e48792d5a
--- /dev/null
+++ b/test/files/neg/bug85.check
@@ -0,0 +1,11 @@
+bug85.scala:6 error: type mismatch;
+ found : A.this.C
+ required: A.this.B#C
+ val b: B = new B(new C());
+ ^
+bug85.scala:7 error: type mismatch;
+ found : A.this.b.C
+ required: A.this.C
+ val c: C = b.c;
+ ^
+two errors found