aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/MC/WebAssembly/export-name-invalid.s
blob: ad322ce949f5ec9825bf7c18c7da6fb2700d1fc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# RUN: not llvm-mc -triple=wasm32 %s 2>&1 | FileCheck %s

# CHECK: [[#@LINE+1]]:14: error: Expected identifier, got: 42
.export_name 42

# CHECK: [[#@LINE+1]]:17: error: Expected ,, instead got:
.export_name foo

# CHECK: [[#@LINE+1]]:18: error: Expected identifier, got:
.export_name foo,

# CHECK: [[#@LINE+1]]:22: error: Expected EOL, instead got: ,
.export_name foo, bar,