1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/MC/ARM/directive-fpu-diagnostics.s
Saleem Abdulrasool 1c30aa1d0c 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.

llvm-svn: 227595
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: ^