mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
24 lines
552 B
ArmAsm
24 lines
552 B
ArmAsm
|
@ RUN: not llvm-mc < %s -triple armv7-none-linux-gnueabi 2>&1 | FileCheck %s
|
||
|
|
||
|
@ check for invalid variant
|
||
|
f1:
|
||
|
bl bar(blargh)
|
||
|
@CHECK: error: invalid variant 'blargh'
|
||
|
@CHECK: bl bar(blargh)
|
||
|
@CHECK: ^
|
||
|
|
||
|
@ check for missing closed paren
|
||
|
f2:
|
||
|
.word bar(got
|
||
|
@CHECK: error: unexpected token in variant, expected ')'
|
||
|
@CHECK: .word bar(got
|
||
|
@CHECK: ^
|
||
|
|
||
|
@ check for invalid symbol before variant end
|
||
|
f3:
|
||
|
.word bar(got+2)
|
||
|
|
||
|
@CHECK: error: unexpected token in variant, expected ')'
|
||
|
@CHECK: .word bar(got+2)
|
||
|
@CHECK: ^
|