2 ; RUN: llvm-as %s -o %t.o
3 ; RUN: ld.lld %t.o -o %t2 -save-temps
4 ; RUN: llvm-dis < %t2.0.2.internalize.bc | FileCheck %s
6 target triple = "x86_64-unknown-linux-gnu"
7 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
9 define void @_start() {
13 define hidden void @f() {
17 @llvm.used = appending global [1 x ptr] [ ptr @f]
19 ; Check that f is not internalized.
20 ; CHECK: define hidden void @f()