1// RUN: llvm-mc -triple x86_64-apple-darwin10 %s | FileCheck %s
2
3.macro .make_macro
4$0 $1
5$2 $3
6$4
7.endmacro
8
9.make_macro .macro,.mybyte,.byte,$0,.endmacro
10
11.data
12// CHECK: .byte 10
13.mybyte 10
14
15// PR18599
16.macro macro_a
17
18.macro macro_b
19.byte 10
20.macro macro_c
21.endm
22
23macro_c
24.purgem macro_c
25.endm
26
27macro_b
28.endm
29
30macro_a
31macro_b
32// CHECK: .byte 10
33// CHECK: .byte 10
34