1; RUN: opt < %s -internalize -S | FileCheck %s
2
3@llvm.used = appending global [1 x void ()*] [void ()* @f], section "llvm.metadata"
4
5@llvm.compiler.used = appending global [1 x void ()*] [void ()* @g], section "llvm.metadata"
6
7; CHECK: define void @f()
8define void @f() {
9  ret void
10}
11
12; CHECK: define internal void @g()
13define void @g() {
14  ret void
15}
16
17; CHECK: define internal void @h()
18define void @h() {
19  ret void
20}
21