summaryrefslogtreecommitdiff
path: root/test/tools/gold/X86/Inputs/thinlto_internalize.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools/gold/X86/Inputs/thinlto_internalize.ll')
-rw-r--r--test/tools/gold/X86/Inputs/thinlto_internalize.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/tools/gold/X86/Inputs/thinlto_internalize.ll b/test/tools/gold/X86/Inputs/thinlto_internalize.ll
new file mode 100644
index 000000000000..44e82c9fac74
--- /dev/null
+++ b/test/tools/gold/X86/Inputs/thinlto_internalize.ll
@@ -0,0 +1,6 @@
+target triple = "x86_64-unknown-linux-gnu"
+declare i32 @g()
+define i32 @main() {
+ call i32 @g()
+ ret i32 0
+}