diff options
Diffstat (limited to 'test/pending/neg/t3633/test')
-rw-r--r-- | test/pending/neg/t3633/test/Test.scala | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test/pending/neg/t3633/test/Test.scala b/test/pending/neg/t3633/test/Test.scala deleted file mode 100644 index 395a6be6f4..0000000000 --- a/test/pending/neg/t3633/test/Test.scala +++ /dev/null @@ -1,23 +0,0 @@ -package test - -final class Test extends PackageProtected { - def bar = foo -} - -package another { - object Main { - def t1(t: Test) { - // Can always be replicated. - println(t.foo) - } - def t2(t: Test) { - // Conditions to replicate: must use -optimise, class Test must be final - println(t.bar) - //@noinline is a usable workaround - } - def main(args: Array[String]) { - t1(new Test) - t2(new Test) - } - } -} |