brintos

brintos / llvm-project-archived public Read only

0
0
Text · 392 B · 1ae98ab Raw
14 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/shared.s -o %t.o3// RUN: ld.lld -shared -o %t.so %t.o4 5// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o6// RUN: ld.lld -o /dev/null %t.o %t.so7// RUN: not ld.lld -o /dev/null -static %t.o %t.so 2>&1 | FileCheck %s8 9// CHECK: attempted static link of dynamic object10 11.global _start12_start:13  nop14