2002-11-21 06:30:02 +08:00
|
|
|
; Test that bugpoint can narrow down the testcase to the important function
|
|
|
|
;
|
2009-09-08 03:26:18 +08:00
|
|
|
; RUN: bugpoint %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
|
2002-11-21 06:30:02 +08:00
|
|
|
|
2007-03-20 02:08:42 +08:00
|
|
|
define i32 @foo() { ret i32 1 }
|
2002-11-21 06:30:02 +08:00
|
|
|
|
2007-03-20 02:08:42 +08:00
|
|
|
define i32 @test() {
|
|
|
|
call i32 @test()
|
|
|
|
ret i32 %1
|
2002-11-21 06:30:02 +08:00
|
|
|
}
|
|
|
|
|
2007-03-20 02:08:42 +08:00
|
|
|
define i32 @bar() { ret i32 2 }
|