summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AsmParser/macros.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/AsmParser/macros.s')
-rw-r--r--llvm/test/MC/AsmParser/macros.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/macros.s b/llvm/test/MC/AsmParser/macros.s
index 8bbb481d974..214274d9aa8 100644
--- a/llvm/test/MC/AsmParser/macros.s
+++ b/llvm/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)
OpenPOWER on IntegriCloud