[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / Generic / externally_available.ll
1 ; RUN: llc < %s | not grep test_
2
3 ; test_function should not be emitted to the .s file.
4 define available_externally i32 @test_function() {
5   ret i32 4
6 }
7
8 ; test_global should not be emitted to the .s file.
9 @test_global = available_externally global i32 4
10