Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
2 | |||||
3 | void *dlclose(void*); | ||||
4 | |||||
5 | void ap_os_dso_unload(void *handle) | ||||
6 | { | ||||
7 | dlclose(handle); | ||||
8 | return; /* This return triggers the bug: Weird */ | ||||
9 | } |