1 ; RUN: opt < %s -internalize -S | FileCheck %s
2 ; RUN: opt < %s -passes=internalize -S | FileCheck %s
4 @llvm.used = appending global [1 x void ()*] [void ()* @f], section "llvm.metadata"
6 @llvm.compiler.used = appending global [1 x void ()*] [void ()* @g], section "llvm.metadata"
8 ; CHECK: define void @f()
13 ; CHECK: define internal void @g()
18 ; CHECK: define internal void @h()