diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-01-07 09:09:30 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-01-26 15:41:07 +0100 |
commit | 412ad5724c0ca34f5fd6982ff6a0b12a437218bc (patch) | |
tree | 55e366895405a810b92ea22d4dd8d93015912442 /test/files | |
parent | f21b1ce7fda9022d6d805a708882c5a2ab241f41 (diff) | |
download | scala-412ad5724c0ca34f5fd6982ff6a0b12a437218bc.tar.gz scala-412ad5724c0ca34f5fd6982ff6a0b12a437218bc.tar.bz2 scala-412ad5724c0ca34f5fd6982ff6a0b12a437218bc.zip |
SI-4859 Retain MODULE_LOAD in dead code elim.
Without this, the following test fails:
SCALAC_OPTS="-optimize" ./test/partest test/files/run/t4859.scala
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/t4859.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t4859.scala b/test/files/run/t4859.scala index 6d223f2179..3c20cea983 100644 --- a/test/files/run/t4859.scala +++ b/test/files/run/t4859.scala @@ -15,7 +15,7 @@ object Outer { object Test { def main(args: Array[String]) { - Outer.Inner.i // we still don't initiialize Outer here (but should we?) + 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. |