summaryrefslogtreecommitdiff
path: root/test/MC/ELF/bad-relocation.s
blob: 1a66744ec86328ec8e5373716b90caec042c66d6 (plain)
1
2
3
4
5
6
7
// 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