1# REQUIRES: x86 2 3# Test that we don't error on undefined versions when static linking. 4# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o 5# RUN: ld.lld %t.o -o %t 6# RUN: echo "DEFINED { global: *; };" > %t.map 7# RUN: ld.lld %t.o --version-script %t.map -o %t 8 9.global _start 10.global bar 11.symver _start, bar@@UNDEFINED 12_start: 13