llvm-6502/test/Verifier/2005-03-21-UndefinedTypeReference.ll

8 lines
147 B
LLVM
Raw Normal View History

2009-01-02 07:01:27 +00:00
; RUN: not llvm-as < %s |& grep {use of undefined type named 'InvalidType'}
define void @test() {
malloc %InvalidType
ret void
}