mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +00:00
14 lines
291 B
ArmAsm
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: ^
|
||
|
|