llvm.org GIT mirror llvm / 2edda52 test / MC / ARM / directive-arch-semantic-action.s
2edda52

Tree @2edda52 (Download .tar.gz)

directive-arch-semantic-action.s @2edda52raw · history · blame

@ 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