15 lines · plain
1; REQUIRES: x862; RUN: llc %s -o %t.o -filetype=obj3; RUN: llvm-as %p/Inputs/drop-linkage.ll -o %t2.o4; RUN: ld.lld %t.o %t2.o -o %t.so -save-temps -shared5; RUN: llvm-dis %t.so.0.4.opt.bc -o - | FileCheck %s6 7target triple = "x86_64-unknown-linux-gnu"8target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"9 10define void @foo() {11 ret void12}13 14; CHECK: declare void @foo()15