aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-13 10:44:53 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-13 10:44:53 -0800
commit502ba282c1ed5577bdfd2843d33808e4cbbeb401 (patch)
tree77e381ddcfa757d5830f8f0f2a6beb953a78be55
parente4876a3dd9e580ee5b290831baba2c3ae34b7d0e (diff)
fix testcase to validate as llvm ir
-rw-r--r--tests/cases/invokeundef.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cases/invokeundef.ll b/tests/cases/invokeundef.ll
index be1dd671..2f13e7ab 100644
--- a/tests/cases/invokeundef.ll
+++ b/tests/cases/invokeundef.ll
@@ -31,6 +31,8 @@ invcont33:
ret i32 %retval1
lpad106:
+ %Z = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
+ cleanup
ret i32 %retval1
return: ; preds = %entry
@@ -40,3 +42,6 @@ return: ; preds = %entry
; [#uses=1]
declare i32 @puts(i8*)
+
+declare i32 @__gxx_personality_v0(...)
+