aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/MC/WebAssembly/missing-features.s
blob: 77ac4676ee0f84a2a9b8b291bb6e63c760e57e17 (plain)
1
2
3
4
5
6
7
8
9
10
11
# RUN: not llvm-mc -triple=wasm32-unknown-unknown  < %s 2>&1 | FileCheck %s

# Check that missing features are named in the error message

# CHECK: error: instruction requires: simd128
needs_simd:
    .functype needs_simd () -> (v128)
    i32.const 42
    i32x4.splat
    drop
    end_function