summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1623.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-02-16 16:28:51 +0000
committerPaul Phillips <paulp@improving.org>2009-02-16 16:28:51 +0000
commitc193d5918c84d7fc85371be67e37ef0addc65077 (patch)
treec60e3ec7477a1e87b32f62250df7a8936c756292 /test/files/neg/bug1623.check
parent10b8c781c2d20d2a00f70a9426951ea374e5d07e (diff)
downloadscala-c193d5918c84d7fc85371be67e37ef0addc65077.tar.gz
scala-c193d5918c84d7fc85371be67e37ef0addc65077.tar.bz2
scala-c193d5918c84d7fc85371be67e37ef0addc65077.zip
Fix and test case for #1623.
Diffstat (limited to 'test/files/neg/bug1623.check')
-rw-r--r--test/files/neg/bug1623.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/bug1623.check b/test/files/neg/bug1623.check
new file mode 100644
index 0000000000..cfc2b533d4
--- /dev/null
+++ b/test/files/neg/bug1623.check
@@ -0,0 +1,4 @@
+bug1623.scala:11: error: class BImpl cannot be instantiated because it does not conform to its self-type test.BImpl with test.A
+ val b = new BImpl
+ ^
+one error found