1 ; Test that bugpoint can reduce the set of functions by replacing them with null.
3 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%pluginext %s -output-prefix %t -replace-funcs-with-null -bugpoint-crash-decl-funcs -silence-passes -safe-run-llc
6 @foo2 = alias i32 (), ptr @foo
8 define i32 @foo() { ret i32 1 }
15 define i32 @bar() { ret i32 2 }
17 @llvm.used = appending global [1 x ptr] [ptr @foo], section "llvm.metadata"