1# RUN: not llvm-mc -triple=wasm32-unknown-unknown -mattr=+simd128,+nontrapping-fptoint,+exception-handling < %s 2>&1 | FileCheck %s 2 3# CHECK: invalid operand for instruction 4# (must be 0.0 or similar) 5 f32.const 0 6 7# CHECK: Wasm doesn't support data symbols in text sections 8 .type objerr,@object 9objerr: 10 11# CHECK: End of block construct with no start: end_try 12 end_try 13test0: 14 .functype test0 () -> () 15# CHECK: Block construct type mismatch, expected: end_function, instead got: end_loop 16 end_loop 17 block 18# CHECK: Block construct type mismatch, expected: end_block, instead got: end_if 19 end_if 20 try 21# CHECK: Block construct type mismatch, expected: end_try/delegate, instead got: end_block 22 end_block 23 loop 24 try 25 catch_all 26 catch_all 27# CHECK: error: Block construct type mismatch, expected: end_try, instead got: catch_all 28 end 29# CHECK: Block construct type mismatch, expected: end_try, instead got: end_function 30# CHECK: error: Unmatched block construct(s) at function end: catch_all 31# CHECK: error: Unmatched block construct(s) at function end: loop 32# CHECK: error: Unmatched block construct(s) at function end: try 33# CHECK: error: Unmatched block construct(s) at function end: block 34# CHECK: error: Unmatched block construct(s) at function end: function 35 end_function 36 37