summaryrefslogtreecommitdiff
path: root/test/files/run/repl-paste-4.pastie
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/repl-paste-4.pastie')
-rw-r--r--test/files/run/repl-paste-4.pastie4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/repl-paste-4.pastie b/test/files/run/repl-paste-4.pastie
new file mode 100644
index 0000000000..853a66f6a4
--- /dev/null
+++ b/test/files/run/repl-paste-4.pastie
@@ -0,0 +1,4 @@
+
+// if we are truly companions, I can see your foo
+class Foo { private val foo = 7 }
+object Foo { def apply(f: Foo) = f.foo }