Checkin testcase for bug recently fixed
authorChris Lattner <sabre@nondot.org>
Thu, 24 Jan 2002 19:50:30 +0000 (19:50 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 24 Jan 2002 19:50:30 +0000 (19:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1579 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2002-01-24-HandleCallInsnSEGV.c [new file with mode: 0644]

diff --git a/test/CFrontend/2002-01-24-HandleCallInsnSEGV.c b/test/CFrontend/2002-01-24-HandleCallInsnSEGV.c
new file mode 100644 (file)
index 0000000..5ae9d63
--- /dev/null
@@ -0,0 +1,7 @@
+void *dlclose(void*);
+
+void ap_os_dso_unload(void *handle)
+{
+    dlclose(handle);
+    return;     /* This return triggers the bug: Wierd */
+}