blob: 6ad09d2e25cdf37ce0a7fb242fb146ac0892415d [file] [log] [blame]
Chris Lattnerd9624b02002-11-20 22:30:02 +00001; Test that bugpoint can narrow down the testcase to the important function
2;
Daniel Dunbare0ae2b22009-09-07 19:26:18 +00003; RUN: bugpoint %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
Chris Lattnerd9624b02002-11-20 22:30:02 +00004
Reid Spencer660c4f92007-03-19 18:08:42 +00005define i32 @foo() { ret i32 1 }
Chris Lattnerd9624b02002-11-20 22:30:02 +00006
Reid Spencer660c4f92007-03-19 18:08:42 +00007define i32 @test() {
8 call i32 @test()
9 ret i32 %1
Chris Lattnerd9624b02002-11-20 22:30:02 +000010}
11
Reid Spencer660c4f92007-03-19 18:08:42 +000012define i32 @bar() { ret i32 2 }