summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/re/re.regex/re.regex.construct
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/re/re.regex/re.regex.construct')
-rw-r--r--libcxx/test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp2
-rw-r--r--libcxx/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp4
-rw-r--r--libcxx/test/std/re/re.regex/re.regex.construct/bad_repeat.pass.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp b/libcxx/test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp
index 671fac5f65f..e315fb88d1e 100644
--- a/libcxx/test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp
+++ b/libcxx/test/std/re/re.regex/re.regex.construct/awk_oct.pass.cpp
@@ -18,7 +18,7 @@
#include <cassert>
#include "test_macros.h"
-int main()
+int main()
{
using std::regex_constants::awk;
diff --git a/libcxx/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp b/libcxx/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp
index 39e019b8552..3c7e9f5e33c 100644
--- a/libcxx/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp
+++ b/libcxx/test/std/re/re.regex/re.regex.construct/bad_escape.pass.cpp
@@ -19,7 +19,7 @@
#include <cassert>
#include "test_macros.h"
-static bool error_escape_thrown(const char *pat)
+static bool error_escape_thrown(const char *pat)
{
bool result = false;
try {
@@ -30,7 +30,7 @@ static bool error_escape_thrown(const char *pat)
return result;
}
-int main()
+int main()
{
assert(error_escape_thrown("[\\a]"));
assert(error_escape_thrown("\\a"));
diff --git a/libcxx/test/std/re/re.regex/re.regex.construct/bad_repeat.pass.cpp b/libcxx/test/std/re/re.regex/re.regex.construct/bad_repeat.pass.cpp
index dc0b35e6778..0692a59542f 100644
--- a/libcxx/test/std/re/re.regex/re.regex.construct/bad_repeat.pass.cpp
+++ b/libcxx/test/std/re/re.regex/re.regex.construct/bad_repeat.pass.cpp
@@ -19,7 +19,7 @@
#include <cassert>
#include "test_macros.h"
-static bool error_badrepeat_thrown(const char *pat)
+static bool error_badrepeat_thrown(const char *pat)
{
bool result = false;
try {
@@ -30,7 +30,7 @@ static bool error_badrepeat_thrown(const char *pat)
return result;
}
-int main()
+int main()
{
assert(error_badrepeat_thrown("?a"));
assert(error_badrepeat_thrown("*a"));
OpenPOWER on IntegriCloud