2 ; RUN: llvm-as %s -o %t1.o
3 ; RUN: llvm-as %p/Inputs/lazy-internal.ll -o %t2.o
5 ; RUN: llvm-ar rc %t2.a %t2.o
6 ; RUN: ld.lld %t2.a %t1.o -o %t.so -shared -save-temps
7 ; RUN: llvm-dis %t.so.0.2.internalize.bc -o - | FileCheck %s
9 ; CHECK: define internal void @foo()
10 ; CHECK: define internal void @bar()
12 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
13 target triple = "x86_64-unknown-linux-gnu"
15 define hidden void @foo() {