aboutsummaryrefslogtreecommitdiffstats
path: root/test/Verifier/2005-03-21-UndefinedTypeReference.ll
blob: 19a9826ea52cd058ea418dc2a0fa6ade27cf49c6 (plain)
1
2
3
4
5
6
7
; RUN: not llvm-as < %s |& grep {Reference to an undefined type}

define void @test() {
        malloc %InvalidType
        ret void
}