diff options
Diffstat (limited to 'test/MC/ELF/bad-relocation.s')
-rw-r--r-- | test/MC/ELF/bad-relocation.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/ELF/bad-relocation.s b/test/MC/ELF/bad-relocation.s new file mode 100644 index 0000000..1a66744 --- /dev/null +++ b/test/MC/ELF/bad-relocation.s @@ -0,0 +1,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 |