xref: /minix/external/bsd/llvm/dist/llvm/test/MC/ARM/cpu-test.s (revision 0a6a1f1d)
1// RUN: not llvm-mc -o - -triple arm-gnueabi-freebsd11.0 < %s > %t 2> %t2
2// RUN: FileCheck %s < %t
3// RUN: FileCheck %s --check-prefix=CHECK-ERROR < %t2
4
5// CHECK: .cpu cortex-a8
6.cpu cortex-a8
7// CHECK: dsb     sy
8dsb
9.cpu arm9
10// CHECK-ERROR: error: instruction requires: data-barriers
11dsb
12// CHECK-ERROR: error: Unknown CPU name
13.cpu foobar
14