New checkin
authorChris Lattner <sabre@nondot.org>
Fri, 1 Feb 2002 05:04:58 +0000 (05:04 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 1 Feb 2002 05:04:58 +0000 (05:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1630 91177308-0d34-0410-b5e6-96231b3b80d8

test/Other/2002-01-31-CallGraph.ll [new file with mode: 0644]

diff --git a/test/Other/2002-01-31-CallGraph.ll b/test/Other/2002-01-31-CallGraph.ll
new file mode 100644 (file)
index 0000000..e9a5a6e
--- /dev/null
@@ -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
+