summaryrefslogtreecommitdiff
path: root/test/ThinLTO/X86/Inputs/cache.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/ThinLTO/X86/Inputs/cache.ll')
-rw-r--r--test/ThinLTO/X86/Inputs/cache.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/ThinLTO/X86/Inputs/cache.ll b/test/ThinLTO/X86/Inputs/cache.ll
new file mode 100644
index 000000000000..aab44cb80c76
--- /dev/null
+++ b/test/ThinLTO/X86/Inputs/cache.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() {
+entry:
+ call void (...) @globalfunc()
+ ret i32 0
+}
+
+declare void @globalfunc(...)