[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / directive-object_arch-diagnostics.s
blob91b15c8d2d83dcc506664a2fddb2c7e61012ff42
1 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null %s 2>&1 \
2 @ RUN: | FileCheck %s
4 .syntax unified
6 .object_arch i686
8 @ CHECK: error: unknown architecture 'i686'
9 @ CHECK: .object_arch i686
10 @ CHECK: ^
12 .object_arch armv4!
14 @ CHECK: error: unexpected token
15 @ CHECK: .object_arch armv4!
16 @ CHECK: ^
18 .object_arch, invalid
20 @ CHECK: error: unexpected token
21 @ CHECK: .object_arch, invalid
22 @ CHECK: ^