xref: /llvm-project/llvm/test/MC/WebAssembly/missing-features.s (revision 2985c02f798ba8248a9168a9f33a74d90c0c5445)
1# RUN: not llvm-mc -triple=wasm32-unknown-unknown  < %s 2>&1 | FileCheck %s
2
3# Check that missing features are named in the error message
4
5# CHECK: error: instruction requires: simd128
6needs_simd:
7    .functype needs_simd () -> (v128)
8    i32.const 42
9    i32x4.splat
10    drop
11    end_function
12