llvm-6502/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll
Chris Lattner 081da56e9e New testcase that the PPC backend miscompiles. It is emitting
.comm _X,0

For X, which makes the linker thing that X is never defined.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18834 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-12 20:34:06 +00:00

4 lines
91 B
LLVM

; RUN: llvm-as < %s | llc -march=ppc32 | not grep '.comm.*X,0'
%X = linkonce global {} {}