Use local small vector.
[oota-llvm.git] / test / BugPoint / crash-narrowfunctiontest.ll
index 8927ba1905eb78a7dc559cb305ee248573979d77..6ad09d2e25cdf37ce0a7fb242fb146ac0892415d 100644 (file)
@@ -1,13 +1,12 @@
 ; Test that bugpoint can narrow down the testcase to the important function
 ;
-; RUN: bugpoint %s -bugpoint-crashcalls
+; RUN: bugpoint %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
 
-int %foo() { ret int 1 }
+define i32 @foo() { ret i32 1 }
 
-int %test() {
-       call int %test()
-       ret int %0
+define i32 @test() {
+       call i32 @test()
+       ret i32 %1
 }
 
-int %bar() { ret int 2 }
-
+define i32 @bar() { ret i32 2 }