blob: 879a80975bc88eaa6809348e76eb49d4621c43be [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 /dev/null -pie --unresolved-symbols=ignore-all
.global _start
_start:
.quad foo - .
.type foo, @object