xref: /llvm-project/llvm/test/MC/COFF/relax-reloc.s (revision b34cba97b74d57280b22f99ed0f322c30374dd81)
1// RUN: llvm-mc %s -o %t -filetype=obj -triple=x86_64-pc-win32
2
3// Don't crash trying to create relaxable relocations on COFF.
4
5        movl bar(%eax), %ebx
6        add   bar(%rip), %rax
7        call *bar(%rip)
8