1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/MC/AsmParser/bad-macro.s
Rafael Espindola 2683030b12 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.

llvm-svn: 162291
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