1 # We had a regression where an else instruction would be omitted if it followed
2 # return (i.e. it was in an unreachable state).
3 # See: https://github.com/llvm/llvm-project/issues/56935
5 # RUN: llvm-mc -triple=wasm32-unknown-unknown < %s | FileCheck %s
8 .functype foo () -> (i32)
19 # CHECK-NEXT: .functype foo () -> (i32)
20 # CHECK-NEXT: i32.const 1
22 # CHECK-NEXT: i32.const 2
25 # CHECK-NEXT: i32.const 3
27 # CHECK-NEXT: end_function