llvm/test/Assembler/2004-11-28-InvalidTypeCrash.ll
2007-02-05 10:17:51 +00:00

5 lines
243 B
LLVM

; RUN: llvm-as 2>&1 < %s -o /dev/null -f | \
; RUN: grep 'Cannot create a null initialized value of this type'
; Test for PR463. This program is erroneous, but should not crash llvm-as.
@.FOO = internal global %struct.none zeroinitializer