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