Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / MC / WebAssembly / basic-assembly-errors.s
blobeead082e93f7a222834e96b2a2f3959400a95d48
1 # RUN: not llvm-mc -triple=wasm32-unknown-unknown -mattr=+simd128,+nontrapping-fptoint,+exception-handling < %s 2>&1 | FileCheck %s
3 # CHECK: End of block construct with no start: end_try
4 end_try
5 test0:
6 .functype test0 () -> ()
7 # CHECK: Block construct type mismatch, expected: end_function, instead got: end_loop
8 end_loop
9 block
10 # CHECK: Block construct type mismatch, expected: end_block, instead got: end_if
11 end_if
12 try
13 loop
14 # CHECK: Block construct type mismatch, expected: end_loop, instead got: end_function
15 # CHECK: error: Unmatched block construct(s) at function end: loop
16 # CHECK: error: Unmatched block construct(s) at function end: try
17 # CHECK: error: Unmatched block construct(s) at function end: block
18 # CHECK: error: Unmatched block construct(s) at function end: function
19 end_function