Use %shlibext instead of .so
[oota-llvm.git] / test / BugPoint / crash-narrowfunctiontest.ll
1 ; Test that bugpoint can narrow down the testcase to the important function
2 ; FIXME: This likely fails on windows
3 ;
4 ; RUN: bugpoint -load %llvmlibsdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
5
6 define i32 @foo() { ret i32 1 }
7
8 define i32 @test() {
9         call i32 @test()
10         ret i32 %1
11 }
12
13 define i32 @bar() { ret i32 2 }