summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll3
1 files changed, 3 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 0000000..9773de2
--- /dev/null
+++ b/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll
@@ -0,0 +1,3 @@
+; RUN: llvm-as < %s | llc -march=ppc32 | not grep '.comm.*X,0'
+
+%X = linkonce global {} {}