The constant initialization for globals in NVPTX is generated as an
[oota-llvm.git] / test / Feature / callingconventions.ll
index 192f07a413b553d112371b07d3c892b00892e1d8..8b339d43fcd0f19d208808b7984c9a0ed5fc2f71 100644 (file)
@@ -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(...)