YouCompleteMe/cpp/llvm/tools/clang/test/CodeGen/2002-01-24-HandleCallInsnSEGV.c

10 lines
190 B
C
Raw Normal View History

// 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 */
}