aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/neg/i1845.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/neg/i1845.scala b/tests/neg/i1845.scala
new file mode 100644
index 000000000..e3e5787e6
--- /dev/null
+++ b/tests/neg/i1845.scala
@@ -0,0 +1,3 @@
+object Test {
+ type X = FooBar22.this // error
+} // error