cmake HAVE_DESTRUCTOR_ATTRIBUTE examples

FujiNetWIFI/fujinet-firmware components_pc/libssh/ConfigureChecks.cmake :348

check_c_source_compiles("
void test_destructor_attribute(void) __attribute__ ((destructor));

void test_destructor_attribute(void)
{
    return;
}

int main(void) {
    return 0;
}" HAVE_DESTRUCTOR_ATTRIBUTE)