This test has been automatized
[oota-llvm.git] / test / BugPoint / crash-narrowfunctiontest.ll
1 ; Test that bugpoint can narrow down the testcase to the important function
2 ;
3 ; RUN: bugpoint %s -bugpoint-crashcalls
4
5 int %foo() { ret int 1 }
6
7 int %test() {
8         call int %test()
9         ret int %0
10 }
11
12 int %bar() { ret int 2 }
13