]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/typed-undef.s
Vendor import of lld trunk r321017:
[FreeBSD/FreeBSD.git] / test / ELF / typed-undef.s
1 # REQUIRES: x86
2
3 # We used to crash on this, check that we don't
4
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
6 # RUN: ld.lld %t.o -o %t -pie --unresolved-symbols=ignore-all
7
8         .global _start
9 _start:
10         .quad foo - .
11         .type foo, @object