diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-08-21 17:12:05 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-08-21 17:12:05 +0000 |
commit | d7ae0f187635003c385901906fe2cdd95bf13057 (patch) | |
tree | 2620e730805b170402fdd6483b2afdbaaeb8688c /test/MC | |
parent | 578d5f4b80a52906a31f1b22329bc2113b79a866 (diff) |
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
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/AsmParser/bad-macro.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/AsmParser/bad-macro.s b/test/MC/AsmParser/bad-macro.s new file mode 100644 index 0000000000..313607b778 --- /dev/null +++ b/test/MC/AsmParser/bad-macro.s @@ -0,0 +1,9 @@ +// 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 |