summaryrefslogtreecommitdiff
path: root/test/Transforms/FunctionImport/Inputs/funcimport.ll
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-02 19:17:04 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-02 19:17:04 +0000
commitb915e9e0fc85ba6f398b3fab0db6a81a8913af94 (patch)
tree98b8f811c7aff2547cab8642daf372d6c59502fb /test/Transforms/FunctionImport/Inputs/funcimport.ll
parent6421cca32f69ac849537a3cff78c352195e99f1b (diff)
Notes
Diffstat (limited to 'test/Transforms/FunctionImport/Inputs/funcimport.ll')
-rw-r--r--test/Transforms/FunctionImport/Inputs/funcimport.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/FunctionImport/Inputs/funcimport.ll b/test/Transforms/FunctionImport/Inputs/funcimport.ll
index fa96b8ea2663..c4ef37a168f2 100644
--- a/test/Transforms/FunctionImport/Inputs/funcimport.ll
+++ b/test/Transforms/FunctionImport/Inputs/funcimport.ll
@@ -11,6 +11,7 @@
define void @globalfunc1() #0 {
entry:
call void @funcwithpersonality()
+ call void (...) @variadic()
ret void
}
@@ -146,4 +147,8 @@ entry:
ret void
}
+; Variadic function should not be imported because inliner doesn't handle it.
+define void @variadic(...) {
+ ret void
+}