view test/Other/2002-01-31-CallGraph.ll @ 17:5e1f5bc27634

remove codeFlag for llvm type and add __CodeTy
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sat, 05 Oct 2013 22:04:18 +0900
parents 9ad51c7bc036
children 803732b1fca8
line wrap: on
line source

;  Call graph construction crash: Not handling indirect calls right
;
; RUN: opt < %s -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
}