summaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/directive-object_arch-diagnostics.s
blob: 91b15c8d2d83dcc506664a2fddb2c7e61012ff42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null %s 2>&1 \
@ RUN:   | FileCheck %s

	.syntax unified

	.object_arch i686

@ CHECK: error: unknown architecture 'i686'
@ CHECK: 	.object_arch i686
@ CHECK:                     ^

	.object_arch armv4!

@ CHECK: error: unexpected token
@ CHECK: 	.object_arch armv4!
@ CHECK:                          ^

	.object_arch, invalid

@ CHECK: error: unexpected token
@ CHECK: 	.object_arch, invalid
@ CHECK:                    ^