summaryrefslogtreecommitdiff
path: root/test/files/neg/t836.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t836.check')
-rw-r--r--test/files/neg/t836.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t836.check b/test/files/neg/t836.check
new file mode 100644
index 0000000000..be3a87882b
--- /dev/null
+++ b/test/files/neg/t836.check
@@ -0,0 +1,6 @@
+t836.scala:9: error: type mismatch;
+ found : Any
+ required: A.this.S
+ val some: S = any // compiles => type X is set to scala.Any
+ ^
+one error found