Add encoding for VSTR.
[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 ; XFAIL: mingw
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 }