blob: 197e42f59d5642eccc8cb99db89effd1ef9af1eb [file] [log] [blame]
Chris Lattnerd9624b02002-11-20 22:30:02 +00001; Test that bugpoint can narrow down the testcase to the important function
2;
Reid Spencer73e70822006-12-29 20:01:32 +00003; RUN: llvm-upgrade < %s > %t1.ll
4; RUN: bugpoint %t1.ll -bugpoint-crashcalls
Chris Lattnerd9624b02002-11-20 22:30:02 +00005
6int %foo() { ret int 1 }
7
8int %test() {
9 call int %test()
10 ret int %0
11}
12
13int %bar() { ret int 2 }
14