# 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:

# 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
# RUN: echo "DEFINED { global: *; };" > %t.map
# RUN: ld.lld %t.o --version-script %t.map -o %t

.global _start
.global bar
.symver _start, bar@@UNDEFINED
_start:

Make the test more strict.
Make the test more strict.

We now don't produce "has undefined version" errors when producing
binaries even when there is a linker script.

git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@307082 91177308-0d34-0410-b5e6-96231b3b80d8
