diff options
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/X86/reloc-bss.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/MC/X86/reloc-bss.s b/llvm/test/MC/X86/reloc-bss.s new file mode 100644 index 00000000000..3cf26d8b28e --- /dev/null +++ b/llvm/test/MC/X86/reloc-bss.s @@ -0,0 +1,9 @@ +# RUN: not llvm-mc -filetype=obj -triple=x86_64-linux-gnu %s 2>&1 | FileCheck %s +# CHECK: LLVM ERROR: cannot have fixups in virtual section! + +.section .init_array,"awT",@nobits + +.hidden patatino +.globl patatino +patatino: + movl __init_array_start, %eax |

