2002-11-20 22:30:02 +00:00
|
|
|
; Test that bugpoint can narrow down the testcase to the important function
|
2010-08-07 21:48:09 +00:00
|
|
|
; FIXME: This likely fails on windows
|
2002-11-20 22:30:02 +00:00
|
|
|
;
|
2010-08-08 00:55:59 +00:00
|
|
|
; RUN: bugpoint -load %llvmlibsdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
|
2010-08-09 15:14:06 +00:00
|
|
|
; XFAIL: mingw
|
2002-11-20 22:30:02 +00:00
|
|
|
|
2007-03-19 18:08:42 +00:00
|
|
|
define i32 @foo() { ret i32 1 }
|
2002-11-20 22:30:02 +00:00
|
|
|
|
2007-03-19 18:08:42 +00:00
|
|
|
define i32 @test() {
|
|
|
|
call i32 @test()
|
|
|
|
ret i32 %1
|
2002-11-20 22:30:02 +00:00
|
|
|
}
|
|
|
|
|
2007-03-19 18:08:42 +00:00
|
|
|
define i32 @bar() { ret i32 2 }
|