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