diff options
Diffstat (limited to 'libcxx/test/std/re/re.alg/re.alg.search/no_update_pos.pass.cpp')
-rw-r--r-- | libcxx/test/std/re/re.alg/re.alg.search/no_update_pos.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/re/re.alg/re.alg.search/no_update_pos.pass.cpp b/libcxx/test/std/re/re.alg/re.alg.search/no_update_pos.pass.cpp index 8bfcfa007fb..73158dc53c9 100644 --- a/libcxx/test/std/re/re.alg/re.alg.search/no_update_pos.pass.cpp +++ b/libcxx/test/std/re/re.alg/re.alg.search/no_update_pos.pass.cpp @@ -19,7 +19,7 @@ #include <cassert> #include "test_macros.h" -int main() +int main(int, char**) { // Iterating over /^a/ should yield one instance at the beginning // of the text. @@ -35,4 +35,6 @@ int main() ++it; assert(it == end); + + return 0; } |