[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / Generic / call-void.ll
1 ; RUN: llc < %s
2
3 define void @foo() {
4         ret void
5 }
6
7 define i32 @main() {
8         call void @foo( )
9         ret i32 0
10 }
11