comparison lld/test/ELF/version-symbol-error.s @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
comparison
equal deleted inserted replaced
147:c2174574ed3a 150:1d019706d866
1 // REQUIRES: x86
2 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
3 // RUN: echo "V1 {};" > %t.script
4 // RUN: not ld.lld -shared -version-script=%t.script %t.o -o /dev/null 2>&1 \
5 // RUN: | FileCheck %s
6
7 // CHECK: .o: symbol foo@V2 has undefined version V2
8
9 .globl foo@V2
10 .text
11 foo@V2:
12 ret