Fix PR2096, a regression introduced with my patch last night. This
[oota-llvm.git] / test / BugPoint / crash-narrowfunctiontest.ll
index 8927ba1905eb78a7dc559cb305ee248573979d77..ef0db8d980b61967f99553df6fe0c348b23339f6 100644 (file)
@@ -2,12 +2,11 @@
 ;
 ; RUN: bugpoint %s -bugpoint-crashcalls
 
-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 }