Home | History | Annotate | Download | only in BugPoint
      1 ; Test that bugpoint can narrow down the testcase to the important function
      2 ;
      3 ; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
      4 ; REQUIRES: loadable_module
      5 ; XFAIL: lto_on_osx
      6 
      7 define i32 @foo() { ret i32 1 }
      8 
      9 define i32 @test() {
     10 	call i32 @test()
     11 	ret i32 %1
     12 }
     13 
     14 define i32 @bar() { ret i32 2 }
     15