Take advantage of TargetData when available; we know that the atomic intrinsics
[llvm.git] / test / Other / 2002-01-31-CallGraph.ll
blob0e4c877512631a73efa9d16cfc4579ef58430ed9
1 ;  Call graph construction crash: Not handling indirect calls right
3 ; RUN: opt < %s -analyze -print-callgraph >& /dev/null
6         %FunTy = type i32 (i32)
8 define void @invoke(%FunTy* %x) {
9         %foo = call i32 %x( i32 123 )           ; <i32> [#uses=0]
10         ret void