blob: 739a841bbdff3c08304817e1769ef8bfae4a6905 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3void *dlclose(void*);
4
5void ap_os_dso_unload(void *handle)
6{
7 dlclose(handle);
8 return; /* This return triggers the bug: Weird */
9}