summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2002-01-24-HandleCallInsnSEGV.c
blob: 739a841bbdff3c08304817e1769ef8bfae4a6905 (about) (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

void *dlclose(void*);

void ap_os_dso_unload(void *handle)
{
    dlclose(handle);
    return;     /* This return triggers the bug: Weird */
}