aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i831.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/i831.scala')
-rw-r--r--tests/pos/i831.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos/i831.scala b/tests/pos/i831.scala
new file mode 100644
index 000000000..629853b9c
--- /dev/null
+++ b/tests/pos/i831.scala
@@ -0,0 +1,4 @@
+object Test { self =>
+ def a = 5
+ self.a
+}