summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/re/re.syn/sregex_iterator.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/re/re.syn/sregex_iterator.pass.cpp')
-rw-r--r--libcxx/test/std/re/re.syn/sregex_iterator.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/re/re.syn/sregex_iterator.pass.cpp b/libcxx/test/std/re/re.syn/sregex_iterator.pass.cpp
index a691cc799a7..1ae462c6b77 100644
--- a/libcxx/test/std/re/re.syn/sregex_iterator.pass.cpp
+++ b/libcxx/test/std/re/re.syn/sregex_iterator.pass.cpp
@@ -14,7 +14,9 @@
#include <type_traits>
#include "test_macros.h"
-int main()
+int main(int, char**)
{
static_assert((std::is_same<std::regex_iterator<std::string::const_iterator>, std::sregex_iterator>::value), "");
+
+ return 0;
}
OpenPOWER on IntegriCloud