summaryrefslogtreecommitdiff
path: root/test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.ll')
-rw-r--r--test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.ll b/test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.ll
new file mode 100644
index 000000000000..ef3b579b5b47
--- /dev/null
+++ b/test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.ll
@@ -0,0 +1,3 @@
+; RUN: llvm-as < %s | llc -march=c | grep common | grep X
+
+@X = linkonce global i32 5