diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-12 11:02:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-12-12 11:02:19 +0200 |
commit | 326918c41ac1988e373d2aa5edb0ab68e735070c (patch) | |
tree | 28237c4579dcafea9cb3bd032574ebe5c37611bc /tests/regex | |
parent | ffc931dfb8829c8ae36b171d47f3230e10b67cea (diff) |
Add support for VC 15u5
Diffstat (limited to 'tests/regex')
-rw-r--r-- | tests/regex/driver.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/regex/driver.cxx b/tests/regex/driver.cxx index 3f6129a..5e96f06 100644 --- a/tests/regex/driver.cxx +++ b/tests/regex/driver.cxx @@ -74,6 +74,11 @@ try return r.second ? 0 : 1; } +catch (const regex_error& e) +{ + cerr << "invalid regex" << e << endl; // Print sanitized. + return 2; +} catch (const exception& e) { cerr << e << endl; |