summaryrefslogtreecommitdiff
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 192f07a413b5..8b339d43fcd0 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(...)