From 07ae06d18e8a3482fcd956307e09baa4bdaf2ec4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 1 Feb 2002 05:04:58 +0000 Subject: New checkin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1630 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Other/2002-01-31-CallGraph.ll | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/Other/2002-01-31-CallGraph.ll (limited to 'test') 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 + -- cgit v1.2.3