summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-01-24 19:50:30 +0000
committerChris Lattner <sabre@nondot.org>2002-01-24 19:50:30 +0000
commit11d11f01a95dbf57e10b3ab432bd8c54cbda8c78 (patch)
treefa4564d708961fd827e397348dab9240929e3ebe /test
parente7fca510f337be7fd32e037c6ea140350d7718a2 (diff)
downloadllvm-11d11f01a95dbf57e10b3ab432bd8c54cbda8c78.tar.gz
llvm-11d11f01a95dbf57e10b3ab432bd8c54cbda8c78.tar.bz2
llvm-11d11f01a95dbf57e10b3ab432bd8c54cbda8c78.tar.xz
Checkin testcase for bug recently fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1579 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CFrontend/2002-01-24-HandleCallInsnSEGV.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CFrontend/2002-01-24-HandleCallInsnSEGV.c b/test/CFrontend/2002-01-24-HandleCallInsnSEGV.c
new file mode 100644
index 0000000000..5ae9d63494
--- /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 */
+}