diff --git a/test/date_test/parse.pass.cpp b/test/date_test/parse.pass.cpp index cad577e..fe822c6 100644 --- a/test/date_test/parse.pass.cpp +++ b/test/date_test/parse.pass.cpp @@ -45,6 +45,8 @@ test_a() std::istringstream in{"Sun 2016-12-11"}; sys_days tp; in >> parse("%A %F", tp); + // this may fail with libstdc++, see https://github.com/HowardHinnant/date/issues/388 + // possible workaround: compile date.h with -DONLY_C_LOCALE=1 assert(!in.fail()); assert(!in.bad()); assert(!in.eof());