Regression test for the fast compiler, which used to overwrite a dex register with
an old constant.
