llvm-6502/test/MC/ARM/directive-fpu-diagnostics.s
Saleem Abdulrasool 9492802a37 ARM: improve caret diagnostics for invalid FPU name
In the case of an invalid FPU name, place the caret at the name rather than FPU
directive.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227595 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-30 18:42:10 +00:00

11 lines
217 B
ArmAsm

@ RUN: not llvm-mc -triple armv7 -filetype asm -o /dev/null %s 2>&1 \
@ RUN: | FileCheck %s -strict-whitespace
.text
.thumb
.fpu invalid
@ CHECK: error: Unknown FPU name
@ CHECK: .fpu invalid
@ CHECK: ^