summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/2007-02-25-invoke.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/2007-02-25-invoke.ll')
-rw-r--r--test/CodeGen/Generic/2007-02-25-invoke.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Generic/2007-02-25-invoke.ll b/test/CodeGen/Generic/2007-02-25-invoke.ll
index 7850cec35f9ef..4ca280d1587eb 100644
--- a/test/CodeGen/Generic/2007-02-25-invoke.ll
+++ b/test/CodeGen/Generic/2007-02-25-invoke.ll
@@ -3,12 +3,12 @@
; PR1224
declare i32 @test()
-define i32 @test2() {
+define i32 @test2() personality i32 (...)* @__gxx_personality_v0 {
%A = invoke i32 @test() to label %invcont unwind label %blat
invcont:
ret i32 %A
blat:
- %lpad = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ %lpad = landingpad { i8*, i32 }
cleanup
ret i32 0
}