• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -strip -S | FileCheck %s
2
3; CHECK: foo
4; CHECK: bar
5; CHECK: foo
6; CHECK: bar
7
8@llvm.used = appending global [2 x i8*] [ i8* bitcast (i32* @foo to i8*), i8* bitcast (i32 ()* @bar to i8*) ], section "llvm.metadata"		; <[2 x i8*]*> [#uses=0]
9@foo = internal constant i32 41		; <i32*> [#uses=1]
10
11define internal i32 @bar() nounwind  {
12entry:
13	ret i32 42
14}
15
16define i32 @main() nounwind  {
17entry:
18	ret i32 0
19}
20
21