Update some tests to the new EH scheme.
[oota-llvm.git] / test / Transforms / IPConstantProp / return-constant.ll
index b25585952873dcd6e4f17c637cc254e4d0b3ec77..ff15df738816d2c4fada5f52725bda73b93de105 100644 (file)
@@ -22,5 +22,9 @@ OK:
         %Y = icmp ne i32 %X, 0          ; <i1> [#uses=1]
         ret i1 %Y 
 FAIL:
+        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+                 cleanup
         ret i1 false
 }
+
+declare i32 @__gxx_personality_v0(...)