aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/PruneEH/simpletest.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/PruneEH/simpletest.ll')
-rw-r--r--test/Transforms/PruneEH/simpletest.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Transforms/PruneEH/simpletest.ll b/test/Transforms/PruneEH/simpletest.ll
index 77c429d..6154a80 100644
--- a/test/Transforms/PruneEH/simpletest.ll
+++ b/test/Transforms/PruneEH/simpletest.ll
@@ -15,5 +15,9 @@ Normal: ; preds = %0
ret i32 0
Except: ; preds = %0
+ landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ catch i8* null
ret i32 1
}
+
+declare i32 @__gxx_personality_v0(...)