llvm-project/lld/test/ELF/version-script-symver.s

10 lines
192 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -o /dev/null
.global _start
.global bar
.symver _start, bar@@VERSION
_start:
jmp bar