summaryrefslogtreecommitdiff
path: root/test/files/neg/sabin2.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/sabin2.check')
-rw-r--r--test/files/neg/sabin2.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/sabin2.check b/test/files/neg/sabin2.check
new file mode 100644
index 0000000000..e127cc67a2
--- /dev/null
+++ b/test/files/neg/sabin2.check
@@ -0,0 +1,5 @@
+sabin2.scala:22: error: method set cannot be accessed in Test.this.Base#Inner
+ because its instance type (Test.this.Base#T)Unit contains a malformed type: Test.this.Base#T
+ a.set(b.get()) // Error
+ ^
+one error found