Chris Lattner | d9624b0 | 2002-11-20 22:30:02 +0000 | [diff] [blame] | 1 | ; Test that bugpoint can narrow down the testcase to the important function |
2 | ; | ||||
Reid Spencer | 73e7082 | 2006-12-29 20:01:32 +0000 | [diff] [blame] | 3 | ; RUN: llvm-upgrade < %s > %t1.ll |
4 | ; RUN: bugpoint %t1.ll -bugpoint-crashcalls | ||||
Chris Lattner | d9624b0 | 2002-11-20 22:30:02 +0000 | [diff] [blame] | 5 | |
6 | int %foo() { ret int 1 } | ||||
7 | |||||
8 | int %test() { | ||||
9 | call int %test() | ||||
10 | ret int %0 | ||||
11 | } | ||||
12 | |||||
13 | int %bar() { ret int 2 } | ||||
14 |