llvm-6502/test/MC/AsmParser/bad-macro.s
Rafael Espindola d7ae0f1876 Make the wording in of the "expected identifier" error in the .macro directive
consistent with the other "expected identifier" errors.
Extracted from the Andy/PaX patch. I added the test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162291 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-21 17:12:05 +00:00

10 lines
205 B
ArmAsm

// RUN: not llvm-mc -triple x86_64-apple-darwin10 %s 2>&1 | FileCheck %s
.macro 23
// CHECK: expected identifier in '.macro' directive
.macro abc 33
// CHECK: expected identifier in '.macro' directive