1 # RUN: not llvm-mc -triple=wasm32 %s 2>&1 | FileCheck %s
3 # CHECK: [[#@LINE+1]]:12: error: Expected identifier, got:
6 # CHECK: [[#@LINE+1]]:13: error: Expected identifier, got: 42
9 # CHECK: [[#@LINE+1]]:16: error: Expected ,, instead got:
12 # CHECK: [[#@LINE+1]]:17: error: Expected identifier, got:
15 # CHECK: [[#@LINE+1]]:18: error: Expected identifier, got: 42
18 # CHECK: [[#@LINE+1]]:18: error: Unknown type in .globaltype directive: i42
21 # CHECK: [[#@LINE+1]]:22: error: Expected identifier, got:
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,