1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o /dev/null 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc void *dlclose(void*); 4*f4a2713aSLionel Sambuc ap_os_dso_unload(void * handle)5*f4a2713aSLionel Sambucvoid ap_os_dso_unload(void *handle) 6*f4a2713aSLionel Sambuc { 7*f4a2713aSLionel Sambuc dlclose(handle); 8*f4a2713aSLionel Sambuc return; /* This return triggers the bug: Weird */ 9*f4a2713aSLionel Sambuc } 10