llvm-6502/test/MC/ARM/variant-diagnostics.s
Saleem Abdulrasool 283b40e4d4 MC: fix test locations/name
Placed the MC variant diagnostics in the wrong directory accidentally.  Move
them into their respective architecture specific directories.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200161 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-26 22:55:02 +00:00

14 lines
291 B
ArmAsm

@ RUN: not llvm-mc -triple armv7-linux-eabi -filetype asm -o /dev/null 2>&1 %s \
@ RUN: | FileCheck %s
.arch armv7
.type invalid_variant,%function
invalid_variant:
bx target(invalid)
@ CHECK: error: invalid variant 'invalid'
@ CHECK: bx target(invalid)
@ CHECK: ^