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
This commit is contained in:
Chris Lattner 2004-12-12 20:34:06 +00:00
parent 8363ad6bfc
commit 081da56e9e

View File

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