[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / WebAssembly / basic-assembly-errors.s
blobba990f14e11a3bc00160f6a2daf4f2f4b1771955
1 # RUN: not llvm-mc -triple=wasm32-unknown-unknown -mattr=+simd128,+nontrapping-fptoint,+exception-handling < %s 2>&1 | FileCheck %s
3 # CHECK: invalid operand for instruction
4 # (must be 0.0 or similar)
5 f32.const 0
7 # CHECK: End of block construct with no start: end_try
8 end_try
9 test0:
10 .functype test0 () -> ()
11 # CHECK: Block construct type mismatch, expected: end_function, instead got: end_loop
12 end_loop
13 block
14 # CHECK: Block construct type mismatch, expected: end_block, instead got: end_if
15 end_if
16 try
17 loop
18 # CHECK: Block construct type mismatch, expected: end_loop, instead got: end_function
19 # CHECK: error: Unmatched block construct(s) at function end: loop
20 # CHECK: error: Unmatched block construct(s) at function end: try
21 # CHECK: error: Unmatched block construct(s) at function end: block
22 # CHECK: error: Unmatched block construct(s) at function end: function
23 end_function