summaryrefslogtreecommitdiff
path: root/test/files/neg/bug85.check
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2006-01-26 09:32:34 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2006-01-26 09:32:34 +0000
commitdceda6e34775cf59ebcd94b7d47427a8e67c3e25 (patch)
treed4df8cd5c865c01c767ef1888608a1a299ebddc5 /test/files/neg/bug85.check
parent3d222bdcde70fd1c87bab840ae521bf51a811d5d (diff)
downloadscala-dceda6e34775cf59ebcd94b7d47427a8e67c3e25.tar.gz
scala-dceda6e34775cf59ebcd94b7d47427a8e67c3e25.tar.bz2
scala-dceda6e34775cf59ebcd94b7d47427a8e67c3e25.zip
Added Martin's additional test cases.
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