summaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/align_invalid.s
blob: 7ffbed42635aa61450d6f93325a7ce9fe2dd7fbf (plain)
1
2
3
4
5
6
7
8
9
10
# RUN: not llvm-mc -triple i386-linux-gnu < %s 2>&1 | FileCheck %s -check-prefix=ELF
# RUN: not llvm-mc -triple i386-apple-darwin < %s 2>&1 | FileCheck %s -check-prefix=DARWIN

.align 3
# ELF: error: alignment must be a power of 2
# DARWIN-NOT: error

.align 32
# ELF-NOT: error
# DARWIN: error: invalid alignment value