blob: d080d9dd4b0cac54d64b4fe42e9853ebddc2c2e2 [file] [log] [blame]
Chris Lattnerd9624b02002-11-20 22:30:02 +00001; Test that bugpoint can narrow down the testcase to the important function
2;
NAKAMURA Takumi86c817e2010-11-29 07:58:32 +00003; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
4; REQUIRES: loadable_module
Chris Lattnerd9624b02002-11-20 22:30:02 +00005
Reid Spencer660c4f92007-03-19 18:08:42 +00006define i32 @foo() { ret i32 1 }
Chris Lattnerd9624b02002-11-20 22:30:02 +00007
Reid Spencer660c4f92007-03-19 18:08:42 +00008define i32 @test() {
9 call i32 @test()
10 ret i32 %1
Chris Lattnerd9624b02002-11-20 22:30:02 +000011}
12
Reid Spencer660c4f92007-03-19 18:08:42 +000013define i32 @bar() { ret i32 2 }