Testcase for r188400.
Do no use -emit-llvm for -flto.

Tested on multiple OSes.