// Test for std::this_thread::sleep_for(). /* For some reason MinGW's header seems to be broken. * * But it gets worse. It looks as if we can include without problems * in this configuration test. Why does it break when MinGW users try to build * the library, but succeed when we try it here? * * To try and get close to the situation in the library code itself, we try * including some standard headers that we don't strictly need here. */ #if __has_include() # include #endif #include #include #include #include #include #include #include int main() { std::this_thread::sleep_for(std::chrono::microseconds{10u}); }