xref: /aosp_15_r20/external/llvm/test/MC/ELF/bad-relocation.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1// RUN: not llvm-mc -filetype=obj -triple i386-pc-linux-gnu %s -o /dev/null 2>&1 | FileCheck  %s
2
3// CHECK: error: invalid variant 'BADRELOC'
4
5        .text
6foo:
7	leal	.Lfoo@BADRELOC(%ebx), %eax
8