diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-08-10 17:38:52 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-08-10 17:38:52 +0000 |
commit | e25c6b95cec7d8e774488c867998a94c3110250f (patch) | |
tree | f73ae5cef6a9e4d95222c76eb2d648e7e814bfda /test/MC/AsmParser | |
parent | 1b73052140e7a3fd4767e7b7b7fda224911306b3 (diff) | |
download | llvm-e25c6b95cec7d8e774488c867998a94c3110250f.tar.gz llvm-e25c6b95cec7d8e774488c867998a94c3110250f.tar.bz2 llvm-e25c6b95cec7d8e774488c867998a94c3110250f.tar.xz |
MC/AsmParser: Fix a bug in macro argument parsing, which was dropping
parentheses from argument lists.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser')
-rw-r--r-- | test/MC/AsmParser/macros.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/AsmParser/macros.s b/test/MC/AsmParser/macros.s index 8bbb481d97..214274d9aa 100644 --- a/test/MC/AsmParser/macros.s +++ b/test/MC/AsmParser/macros.s @@ -30,3 +30,10 @@ test2 10 // CHECK: .globl "1 23 $3 2" test3 1,2 3 + +.macro test4 +.globl "$0 -- $1" +.endmacro + +// CHECK: .globl "ab)(,) -- (cd)" +test4 a b)(,),(cd) |