brintos

brintos / llvm-project-archived public Read only

0
0
Text · 384 B · 3557506 Raw
13 lines · plain
1// RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown %s -o %t.o2// RUN: wasm-ld --experimental-pic -shared -o %t.so %t.o3 4// RUN: wasm-ld --experimental-pic -pie -o /dev/null %t.o %t.so5// RUN: not wasm-ld -o /dev/null -static %t.o %t.so 2>&1 | FileCheck %s6 7// CHECK: attempted static link of dynamic object8 9.global _start10_start:11  .functype _start () -> ()12  end_function13