aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t0774/unrelated.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t0774/unrelated.scala')
-rw-r--r--tests/pos/t0774/unrelated.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pos/t0774/unrelated.scala b/tests/pos/t0774/unrelated.scala
new file mode 100644
index 000000000..1efdb2505
--- /dev/null
+++ b/tests/pos/t0774/unrelated.scala
@@ -0,0 +1,9 @@
+object Outer {
+ import Inner._
+
+ deathname
+
+ object Inner {
+ def deathname: Int = 1
+ }
+}