• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -strip -S | grep foo | count 2
2; RUN: opt < %s -strip -S | grep bar | count 2
3@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]
4@foo = internal constant i32 41		; <i32*> [#uses=1]
5
6define internal i32 @bar() nounwind  {
7entry:
8	ret i32 42
9}
10
11define i32 @main() nounwind  {
12entry:
13	ret i32 0
14}
15
16