Merge "Regression test for array aliasing bug."