aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll')
-rw-r--r--test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll b/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll
new file mode 100644
index 000000000000..fb5306fc337f
--- /dev/null
+++ b/test/CodeGen/Inputs/thinlto_backend_local_name_conflict1.ll
@@ -0,0 +1,13 @@
+; ModuleID = 'local_name_conflict_var.o'
+source_filename = "local_name_conflict_var.c"
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+@baz = internal global i32 10, align 4
+
+; Function Attrs: noinline nounwind uwtable
+define i32 @a() {
+entry:
+ %0 = load i32, i32* @baz, align 4
+ ret i32 %0
+}