[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / llvm / test / MC / WebAssembly / globaltype-invalid.s
blob26344e84a4c2c6040afa06eb94923c1930a2a875
1 # RUN: not llvm-mc -triple=wasm32 %s 2>&1 | FileCheck %s
3 # CHECK: [[#@LINE+1]]:12: error: Expected identifier, got:
4 .globaltype
6 # CHECK: [[#@LINE+1]]:13: error: Expected identifier, got: 42
7 .globaltype 42
9 # CHECK: [[#@LINE+1]]:16: error: Expected ,, instead got:
10 .globaltype sym
12 # CHECK: [[#@LINE+1]]:17: error: Expected identifier, got:
13 .globaltype sym,
15 # CHECK: [[#@LINE+1]]:18: error: Expected identifier, got: 42
16 .globaltype sym, 42
18 # CHECK: [[#@LINE+1]]:18: error: Unknown type in .globaltype directive: i42
19 .globaltype sym, i42
21 # CHECK: [[#@LINE+1]]:22: error: Expected identifier, got:
22 .globaltype sym, i32,
24 # CHECK: [[#@LINE+1]]:23: error: Expected identifier, got: 42
25 .globaltype sym, i32, 42
27 # CHECK: [[#@LINE+1]]:23: error: Unknown type in .globaltype modifier: unmutable
28 .globaltype sym, i32, unmutable
30 # CHECK: [[#@LINE+1]]:32: error: Expected EOL, instead got: ,
31 .globaltype sym, i32, immutable,