summaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/directive_align.s
blob: 5715cb3fc05fb2e1486cee9b3e4dc394ab493282 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# RUN: llvm-mc %s > %t

# RUN: grep -A 2 TEST0 %t > %t2
# RUN: grep ".p2align 1, 0" %t2 | count 1
TEST0:  
        .align 1

# RUN: grep -A 2 TEST1 %t > %t2
# RUN: grep ".p2alignl 3, 0, 2" %t2 | count 1
TEST1:  
        .align32 3,,2

# RUN: grep -A 2 TEST2 %t > %t2
# RUN: grep ".balign 3, 10" %t2 | count 1
TEST2:  
        .balign 3,10
OpenPOWER on IntegriCloud