blob: d00e07f8251881584e389c5647ed9357ce051224 [file] [log] [blame]
# REQUIRES: x86
# We used to crash on this, check that we don't
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t -pie --unresolved-symbols=ignore-all
.global _start
_start:
.quad foo - .
.type foo, @object