aboutsummaryrefslogtreecommitdiffstats
path: root/test/Feature/callingconventions.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Feature/callingconventions.ll')
-rw-r--r--test/Feature/callingconventions.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Feature/callingconventions.ll b/test/Feature/callingconventions.ll
index 192f07a..8b339d4 100644
--- a/test/Feature/callingconventions.ll
+++ b/test/Feature/callingconventions.ll
@@ -52,4 +52,11 @@ U:
resume { i8*, i32 } %exn
}
+declare ghccc void @ghc_callee()
+
+define void @ghc_caller() {
+ call ghccc void @ghc_callee()
+ ret void
+}
+
declare i32 @__gxx_personality_v0(...)