2 ; RUN: llvm-as %s -o %t1.o
3 ; RUN: llvm-as %p/Inputs/available-externally.ll -o %t2.o
4 ; RUN: ld.lld %t1.o %t2.o -o %t.so -shared -save-temps
5 ; RUN: llvm-dis < %t.so.0.2.internalize.bc | FileCheck %s
7 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
8 target triple = "x86_64-unknown-linux-gnu"
15 define available_externally void @bar() {
18 define available_externally void @zed() {
22 ; CHECK: define available_externally void @bar() {
23 ; CHECK: define void @zed() {