summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/re/re.traits/lookup_classname.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/re/re.traits/lookup_classname.pass.cpp')
-rw-r--r--libcxx/test/std/re/re.traits/lookup_classname.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/re/re.traits/lookup_classname.pass.cpp b/libcxx/test/std/re/re.traits/lookup_classname.pass.cpp
index 74207a0191b..38bafa67ebf 100644
--- a/libcxx/test/std/re/re.traits/lookup_classname.pass.cpp
+++ b/libcxx/test/std/re/re.traits/lookup_classname.pass.cpp
@@ -53,7 +53,7 @@ test_w(const char_type* A,
assert(!matches_underscore && "should not match underscore");
}
-int main()
+int main(int, char**)
{
// if __regex_word is not distinct from all the classes, bad things happen
// See https://bugs.llvm.org/show_bug.cgi?id=26476 for an example.
@@ -243,4 +243,6 @@ int main()
test(L"dig", std::ctype_base::mask());
test(L"", std::ctype_base::mask());
test(L"digits", std::ctype_base::mask());
+
+ return 0;
}
OpenPOWER on IntegriCloud