Chris Lattner | 07ae06d | 2002-02-01 05:04:58 +0000 | [diff] [blame] | 1 | ; Call graph construction crash: Not handling indirect calls right |
2 | ; | ||||
3 | ; RUN: analyze -callgraph %s | ||||
4 | ; | ||||
5 | |||||
6 | %FunTy = type int(int) | ||||
7 | |||||
8 | implementation | ||||
9 | |||||
10 | void "invoke"(%FunTy *%x) | ||||
11 | begin | ||||
12 | %foo = call %FunTy* %x(int 123) | ||||
13 | ret void | ||||
14 | end | ||||
15 |