aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CBackend/2003-06-28-LinkOnceGlobalVars.llx4
-rw-r--r--test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.llx4
2 files changed, 8 insertions, 0 deletions
diff --git a/test/CBackend/2003-06-28-LinkOnceGlobalVars.llx b/test/CBackend/2003-06-28-LinkOnceGlobalVars.llx
new file mode 100644
index 0000000000..e135f2ff5c
--- /dev/null
+++ b/test/CBackend/2003-06-28-LinkOnceGlobalVars.llx
@@ -0,0 +1,4 @@
+; RUN: as < %s | dis -c | grep common | grep X
+
+%X = linkonce global int 5
+
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 0000000000..e135f2ff5c
--- /dev/null
+++ b/test/CodeGen/CBackend/2003-06-28-LinkOnceGlobalVars.llx
@@ -0,0 +1,4 @@
+; RUN: as < %s | dis -c | grep common | grep X
+
+%X = linkonce global int 5
+