diff options
Diffstat (limited to 'libcxx/test/std/re/re.alg/re.alg.replace/exponential.pass.cpp')
-rw-r--r-- | libcxx/test/std/re/re.alg/re.alg.replace/exponential.pass.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/test/std/re/re.alg/re.alg.replace/exponential.pass.cpp b/libcxx/test/std/re/re.alg/re.alg.replace/exponential.pass.cpp index 715aa0affe4..868c3d8350b 100644 --- a/libcxx/test/std/re/re.alg/re.alg.replace/exponential.pass.cpp +++ b/libcxx/test/std/re/re.alg/re.alg.replace/exponential.pass.cpp @@ -24,7 +24,7 @@ #include "test_macros.h" -int main() +int main(int, char**) { try { std::regex re("a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?a?aaaaaaaaaaaaaaaaaaaa"); @@ -35,4 +35,5 @@ int main() } catch (const std::regex_error &e) { assert(e.code() == std::regex_constants::error_complexity); } + return 0; } |