Add a test for a recent regression.

llvm-svn: 307041
This commit is contained in:
Rafael Espindola 2017-07-03 16:49:17 +00:00
parent b63eb61fc4
commit bd9682a1ad
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
# REQUIRES: x86
# Test that we don't error on undefined versions when static linking.
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t
.global _start
.global bar
.symver _start, bar@@UNDEFINED
_start: