diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-06-29 23:46:59 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-06-29 23:46:59 +0000 |
commit | c29dfa786a23c9ff0827ce4a56b5b178e4087aaa (patch) | |
tree | 65548bffd97a4d84a4d4e6ae133b9ffa211904dc /test/MC | |
parent | 93a65b2fe1cef7eac1473b6f47ddbfdc4a362616 (diff) | |
download | llvm-c29dfa786a23c9ff0827ce4a56b5b178e4087aaa.tar.gz llvm-c29dfa786a23c9ff0827ce4a56b5b178e4087aaa.tar.bz2 llvm-c29dfa786a23c9ff0827ce4a56b5b178e4087aaa.tar.xz |
llvm-mc: Parse .{,b,p2}align{,w,l} directives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74478 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/AsmParser/directive_align.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/MC/AsmParser/directive_align.s b/test/MC/AsmParser/directive_align.s new file mode 100644 index 0000000000..5715cb3fc0 --- /dev/null +++ b/test/MC/AsmParser/directive_align.s @@ -0,0 +1,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 |