1# RUN: not llvm-mc -triple i386-linux-gnu < %s 2>&1 | FileCheck %s -check-prefix=ELF
2# RUN: not llvm-mc -triple i386-apple-darwin < %s 2>&1 | FileCheck %s -check-prefix=DARWIN
3
4.align 3
5# ELF: error: alignment must be a power of 2
6# DARWIN-NOT: error
7
8.align 32
9# ELF-NOT: error
10# DARWIN: error: invalid alignment value
11
12.align 0x100000000
13# ELF:    error: alignment must be smaller than 2**32
14# DARWIN: error: invalid alignment value
15