brintos

brintos / llvm-project-archived public Read only

0
0
Text · 389 B · bdaeb4f Raw
12 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o3# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/undef-shared2.s -o %t2.o4# RUN: not ld.lld %t.o %t2.o -o /dev/null -shared 2>&1 | FileCheck %s5# RUN: not ld.lld %t2.o %t.o -o /dev/null -shared 2>&1 | FileCheck %s6 7# CHECK: error: undefined protected symbol: foo8 9.data10.quad foo11.protected foo12