llvm/llvm/test/MC/WebAssembly/export-name-invalid.s

# 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,