diff options
-rw-r--r-- | test/Other/2002-01-31-CallGraph.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/Other/2002-01-31-CallGraph.ll b/test/Other/2002-01-31-CallGraph.ll new file mode 100644 index 0000000000..e9a5a6eae1 --- /dev/null +++ b/test/Other/2002-01-31-CallGraph.ll @@ -0,0 +1,15 @@ +; Call graph construction crash: Not handling indirect calls right +; +; RUN: analyze -callgraph %s +; + +%FunTy = type int(int) + +implementation + +void "invoke"(%FunTy *%x) +begin + %foo = call %FunTy* %x(int 123) + ret void +end + |