summaryrefslogtreecommitdiff
path: root/test/files/neg/bug412.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/bug412.check')
-rw-r--r--test/files/neg/bug412.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/bug412.check b/test/files/neg/bug412.check
new file mode 100644
index 0000000000..6caf74fb3d
--- /dev/null
+++ b/test/files/neg/bug412.check
@@ -0,0 +1,6 @@
+bug412.scala:9 error: type mismatch;
+ found : scala.AllRef(null)
+ required: A.this.CX with A.this.C2
+ val c: CX with C2 = null;
+ ^
+one error found