diff options
Diffstat (limited to 'test/pending/neg/t3633')
-rw-r--r-- | test/pending/neg/t3633/test/Test.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/pending/neg/t3633/test/Test.scala b/test/pending/neg/t3633/test/Test.scala index 2c54e7b3e9..395a6be6f4 100644 --- a/test/pending/neg/t3633/test/Test.scala +++ b/test/pending/neg/t3633/test/Test.scala @@ -6,18 +6,18 @@ final class Test extends PackageProtected { package another { object Main { - def bug1(t: Test) { + def t1(t: Test) { // Can always be replicated. println(t.foo) } - def bug2(t: Test) { + 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]) { - bug1(new Test) - bug2(new Test) + t1(new Test) + t2(new Test) } } } |