llvm/test/MC/ELF/align-zero.s
Davide Italiano 5bd1a50ca2 [MC/ELF] Accept zero for .align directive
.align directive refuses alignment 0 -- a comment in the code hints this is
done for GNU as compatibility, but it seems GNU as accepts .align 0
(and silently rounds up alignment to 1).

Differential Revision:	 http://reviews.llvm.org/D12682


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247048 91177308-0d34-0410-b5e6-96231b3b80d8
2015-09-08 18:59:47 +00:00

5 lines
125 B
ArmAsm

// Test that an alignment of zero is accepted.
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o -
.align 0