summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/re/re.results/re.results.const/copy_assign.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/re/re.results/re.results.const/copy_assign.pass.cpp')
-rw-r--r--libcxx/test/std/re/re.results/re.results.const/copy_assign.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/re/re.results/re.results.const/copy_assign.pass.cpp b/libcxx/test/std/re/re.results/re.results.const/copy_assign.pass.cpp
index 3429b066bee..943037e752f 100644
--- a/libcxx/test/std/re/re.results/re.results.const/copy_assign.pass.cpp
+++ b/libcxx/test/std/re/re.results/re.results.const/copy_assign.pass.cpp
@@ -34,7 +34,7 @@ test(const Allocator& a)
assert(m1.get_allocator() == Allocator());
}
-int main()
+int main(int, char**)
{
test<char> (std::allocator<std::sub_match<const char *> >());
test<wchar_t>(std::allocator<std::sub_match<const wchar_t *> >());
@@ -46,4 +46,6 @@ int main()
// other_allocator has POCCA -> true
test<char> (other_allocator<std::sub_match<const char*> >(3));
test<wchar_t>(other_allocator<std::sub_match<const wchar_t*> >(3));
+
+ return 0;
}
OpenPOWER on IntegriCloud