1# RUN: llvm-mc -triple=x86_64 %s | FileCheck %s
2.macro one a:vararg
3.ascii "|\a"
4.endm
5
6# CHECK:     .byte 124
7one
8# CHECK:     .ascii "|1"
9one 1
10## Difference: GNU as squeezes repeated spaces.
11# CHECK:     .ascii "|1  2"
12one 1  2
13## Difference: GNU as non-x86 drops the space before '(' (gas PR/25750)
14# CHECK:     .ascii "|1  (2  3"
15one 1  (2  3
16# CHECK:     .ascii "|1  2  3)"
17one 1  2  3)
18
19.macro two a, b:vararg
20.ascii "|\a|\b"
21.endm
22
23# CHECK:     .ascii "||"
24two
25# CHECK:     .ascii "|1|"
26two 1
27## Difference: GNU as squeezes repeated spaces.
28# CHECK:     .ascii "|1|2  3"
29two 1 2  3
30
31## Parameters can be separated by spaces
32.macro two1 a b:vararg
33.ascii "|\a|\b"
34.endm
35
36# CHECK:     .ascii "|1|2"
37two1 1  2
38