We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef24195 commit 62d2ff0Copy full SHA for 62d2ff0
src/mlib/lazy_init.test.cpp
@@ -38,6 +38,9 @@ struct throws_on_first_call {
38
};
39
40
TEST_CASE("mlib/lazy_init/Throw during init") {
41
+#if !(defined(_MSC_VER) || defined(__USE_GNU))
42
+ SKIP("call_once implementation is incorrect in musl C regarding exceptions");
43
+#endif
44
mlib::lazy_threadsafe<int, throws_on_first_call> i;
45
// Throwing during init will throw
46
CHECK_THROWS_AS(*i, std::runtime_error);
0 commit comments