blob: e619cf469926a98d6c74e2f729b7ccd61631acca [file] [log] [blame]
Dan Gohman2d65d352009-08-25 15:38:29 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
3void *dlclose(void*);
4
5void ap_os_dso_unload(void *handle)
6{
7 dlclose(handle);
8 return; /* This return triggers the bug: Weird */
9}