blob: cb1a42e6f99b3fab2e6d9510068a6cc7abc77688 [file] [log] [blame]
This is a smoke test of the SSA renamer's local variable preserver.
It tests a case observed from Scala, wherein a local variable is assigned
an identical value twice. The correct result should be only a single
mark-local, with the second assignment eaten by copy-propogation.
This test compares emitted code against a known-good (via eyeballing)
version, so it is possible for this test to spuriously fail if other
aspects of conversion end up altering the output in innocuous ways.