Checkin testcase for bug recently fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1579 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CFrontend/2002-01-24-HandleCallInsnSEGV.c b/test/CFrontend/2002-01-24-HandleCallInsnSEGV.c
new file mode 100644
index 0000000..5ae9d63
--- /dev/null
+++ b/test/CFrontend/2002-01-24-HandleCallInsnSEGV.c
@@ -0,0 +1,7 @@
+void *dlclose(void*);
+
+void ap_os_dso_unload(void *handle)
+{
+ dlclose(handle);
+ return; /* This return triggers the bug: Wierd */
+}