aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-28 17:07:23 +0000
committerChris Lattner <sabre@nondot.org>2003-06-28 17:07:23 +0000
commita4610ec6babfd341a7aaeb94c7f75343b72bb25d (patch)
tree6e66be3f1b3d15df782acfb2ff737058fc82c3d1
parentcf6bac3b565d02fe3a7e270e0d652303aa1279da (diff)
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6930 91177308-0d34-0410-b5e6-96231b3b80d8
-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
+