llvm-project/llvm/test/MC/ELF/bad-relocation.s

8 lines
195 B
ArmAsm

// RUN: not llvm-mc -filetype=obj -triple i386-pc-linux-gnu %s -o /dev/null 2>&1 | FileCheck %s
// CHECK: error: invalid variant 'BADRELOC'
.text
foo:
leal .Lfoo@BADRELOC(%ebx), %eax