summaryrefslogtreecommitdiffstats
path: root/llvm/test/ThinLTO/X86/Inputs/funcimport2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/ThinLTO/X86/Inputs/funcimport2.ll')
-rw-r--r--llvm/test/ThinLTO/X86/Inputs/funcimport2.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/ThinLTO/X86/Inputs/funcimport2.ll b/llvm/test/ThinLTO/X86/Inputs/funcimport2.ll
new file mode 100644
index 00000000000..216ef0f1daa
--- /dev/null
+++ b/llvm/test/ThinLTO/X86/Inputs/funcimport2.ll
@@ -0,0 +1,11 @@
+target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-apple-macosx10.11.0"
+
+
+define i32 @main() #0 {
+entry:
+ call void (...) @foo()
+ ret i32 0
+}
+
+declare void @foo(...) #1
OpenPOWER on IntegriCloud