aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/timestamp/driver.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/timestamp/driver.cxx b/tests/timestamp/driver.cxx
index f1f33ca..b268e00 100644
--- a/tests/timestamp/driver.cxx
+++ b/tests/timestamp/driver.cxx
@@ -197,7 +197,12 @@ main ()
// of std::get_time() manipulator. So need to be commented out.
//
assert (fail ("Apr 08 19:31:10 2016", "%b %d %H:%M:%S %Y %"));
+
+ // Error is not detected on FreeBSD 11 with Clang/libc++ 3.8.0.
+ //
+#ifndef __FreeBSD__
assert (fail ("Apr 08 19:31:10", "%b %d %H:%M:%S %Y"));
+#endif
assert (parse (
"Apr 8 19:31:10 2016", "%b %d %H:%M:%S %Y", "Apr 08 19:31:10 2016"));