aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/weak.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/weak.ll')
-rw-r--r--test/CodeGen/X86/weak.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/X86/weak.ll b/test/CodeGen/X86/weak.ll
new file mode 100644
index 0000000..1397b19
--- /dev/null
+++ b/test/CodeGen/X86/weak.ll
@@ -0,0 +1,3 @@
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
+%a = extern_weak global int
+%b = global int* %a