summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll')
-rw-r--r--test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll b/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll
new file mode 100644
index 000000000000..3e490b1dc7a2
--- /dev/null
+++ b/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll
@@ -0,0 +1,4 @@
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep .comm.*X,0
+
+@X = linkonce global { } zeroinitializer ; <{ }*> [#uses=0]
+