blob: 3ee9f8aa0ebb1d37cdf4076737e50b09de27dc25 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; Test that bugpoint can narrow down the testcase to the important function
2;
Matthijs Kooijman3875d442008-06-12 13:12:11 +00003; RUN: bugpoint %s -bugpoint-crashcalls -silence-passes > /dev/null
Dan Gohmanf17a25c2007-07-18 16:29:46 +00004
5define i32 @foo() { ret i32 1 }
6
7define i32 @test() {
8 call i32 @test()
9 ret i32 %1
10}
11
12define i32 @bar() { ret i32 2 }