Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / wasm / Inputs / weak-symbol2.s
blobd044b87b96dac9093b8099fd7f30cee93f39b9c1
1 .weak weakFn
2 weakFn:
3 .functype weakFn () -> (i32)
4 i32.const 2
5 end_function
7 .globl exportWeak2
8 exportWeak2:
9 .functype exportWeak2 () -> (i32)
10 i32.const weakFn
11 end_function
13 .section .data.weakGlobal,"",@
14 .weak weakGlobal
15 weakGlobal:
16 .int32 2
17 .size weakGlobal, 4