llvm.org GIT mirror llvm / release_24 test / Other / 2002-01-31-CallGraph.ll
release_24

Tree @release_24 (Download .tar.gz)

2002-01-31-CallGraph.ll @release_24raw · history · blame

;  Call graph construction crash: Not handling indirect calls right
;
; RUN: llvm-as < %s | opt -analyze -print-callgraph >& /dev/null
;

        %FunTy = type i32 (i32)

define void @invoke(%FunTy* %x) {
        %foo = call i32 %x( i32 123 )           ; <i32> [#uses=0]
        ret void
}