summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-01 05:04:58 +0000
committerChris Lattner <sabre@nondot.org>2002-02-01 05:04:58 +0000
commit07ae06d18e8a3482fcd956307e09baa4bdaf2ec4 (patch)
tree6e151837dad8490718284390f6c9da9c2aa02a08 /test
parent0be4101d12bd134a3e707a47a2f3441ef06a26ae (diff)
downloadllvm-07ae06d18e8a3482fcd956307e09baa4bdaf2ec4.tar.gz
llvm-07ae06d18e8a3482fcd956307e09baa4bdaf2ec4.tar.bz2
llvm-07ae06d18e8a3482fcd956307e09baa4bdaf2ec4.tar.xz
New checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1630 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Other/2002-01-31-CallGraph.ll15
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
+