aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.llx
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.llx')
-rw-r--r--test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.llx4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.llx b/test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.llx
new file mode 100644
index 0000000..75e223d
--- /dev/null
+++ b/test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.llx
@@ -0,0 +1,4 @@
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep common | grep X
+
+%X = linkonce global int 5
+