aboutsummaryrefslogtreecommitdiff
path: root/test/MC/ARM/directive-arch-semantic-action.s
blob: 2d64026e041d0b57589142724d988d5742a10d4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
@ RUN: not llvm-mc -triple arm-gnueabi-linux -filetype asm %s 2>&1 | FileCheck %s

	.arch	armv6
        dsb
@ CHECK: error: instruction requires: data-barriers

        .arch   armv7
        dsb
@ CHECK-NOT: error: instruction requires: data-barriers

        .arch   invalid_architecture_name
@ CHECK: error: Unknown arch name