aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t4859.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t4859.scala')
-rw-r--r--tests/pending/run/t4859.scala29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/pending/run/t4859.scala b/tests/pending/run/t4859.scala
deleted file mode 100644
index 8b354ca94..000000000
--- a/tests/pending/run/t4859.scala
+++ /dev/null
@@ -1,29 +0,0 @@
-object O {
- case class N()
- object P
-}
-
-object Outer {
- println("Outer")
- object Inner {
- println("Inner")
- def i: Unit = {
- println("Inner.i")
- }
- }
-}
-
-object Test {
- def main(args: Array[String]): Unit = {
- Outer.Inner.i // we still don't initialize Outer here (but should we?)
-
- {println("About to reference Inner.i"); Outer}.Inner.i // Outer will be initialized.
-
- {println("About to reference O.N" ); O}.N
-
- {println("About to reference O.N" ); O}.N
-
- {println("About to reference O.N.apply()"); O}.N.apply()
- }
-}
-