blob: ef0db8d980b61967f99553df6fe0c348b23339f6 [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 Spencer660c4f92007-03-19 18:08:42 +00003; RUN: bugpoint %s -bugpoint-crashcalls
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 }