added a testcase for -Olocal-temps