mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-27 17:31:33 +00:00
An emitted diagnostic for an invalid relocation variant would place the caret on the token following the relocation variant indicator or at the end of the line if there was no following token. This change corrects the placement of the caret to point to the token. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200159 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
252 B
ArmAsm
12 lines
252 B
ArmAsm
# RUN: not llvm-mc -triple i386-linux-gnu -filetype asm -o /dev/null 2>&1 %s \
|
|
# RUN: | FileCheck %s
|
|
|
|
.text
|
|
|
|
function:
|
|
call external@invalid
|
|
|
|
# CHECK: error: invalid variant 'invalid'
|
|
# CHECK: call external@invalid
|
|
# CHECK: ^
|