blob: 09029fb945ef00c29fba1c9710933a0445513a50 [file] [log] [blame]
Tanya Lattnere9af5d12004-11-06 22:41:00 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
2
Chris Lattner11d11f02002-01-24 19:50:30 +00003void *dlclose(void*);
4
5void ap_os_dso_unload(void *handle)
6{
7 dlclose(handle);
Chris Lattner47b72fb2005-02-27 06:14:21 +00008 return; /* This return triggers the bug: Weird */
Chris Lattner11d11f02002-01-24 19:50:30 +00009}