summaryrefslogtreecommitdiffstats
path: root/llvm/test/ThinLTO/X86/Inputs/export.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/ThinLTO/X86/Inputs/export.ll')
-rw-r--r--llvm/test/ThinLTO/X86/Inputs/export.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/ThinLTO/X86/Inputs/export.ll b/llvm/test/ThinLTO/X86/Inputs/export.ll
new file mode 100644
index 00000000000..cab8591fd9f
--- /dev/null
+++ b/llvm/test/ThinLTO/X86/Inputs/export.ll
@@ -0,0 +1,10 @@
+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 @callstaticfunc()
+ ret i32 0
+}
+
+declare void @callstaticfunc()
OpenPOWER on IntegriCloud