diff options
Diffstat (limited to 'libcxx/test/std/re/re.regex')
-rw-r--r-- | libcxx/test/std/re/re.regex/re.regex.construct/deduct.fail.cpp | 2 | ||||
-rw-r--r-- | libcxx/test/std/re/re.regex/re.regex.construct/deduct.pass.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/test/std/re/re.regex/re.regex.construct/deduct.fail.cpp b/libcxx/test/std/re/re.regex/re.regex.construct/deduct.fail.cpp index c4d60a5a95a..d4dc9e54fc5 100644 --- a/libcxx/test/std/re/re.regex/re.regex.construct/deduct.fail.cpp +++ b/libcxx/test/std/re/re.regex/re.regex.construct/deduct.fail.cpp @@ -26,7 +26,7 @@ int main() -{ +{ // Test the explicit deduction guides { // basic_regex(ForwardIterator, ForwardIterator) diff --git a/libcxx/test/std/re/re.regex/re.regex.construct/deduct.pass.cpp b/libcxx/test/std/re/re.regex/re.regex.construct/deduct.pass.cpp index 5dbd2f11708..31f047c7195 100644 --- a/libcxx/test/std/re/re.regex/re.regex.construct/deduct.pass.cpp +++ b/libcxx/test/std/re/re.regex/re.regex.construct/deduct.pass.cpp @@ -16,7 +16,7 @@ // basic_regex(ForwardIterator, ForwardIterator, // regex_constants::syntax_option_type = regex_constants::ECMAScript) // -> basic_regex<typename iterator_traits<ForwardIterator>::value_type>; - + #include <regex> #include <string> @@ -34,7 +34,7 @@ struct A {}; int main() { - + // Test the explicit deduction guides { // basic_regex(ForwardIterator, ForwardIterator) @@ -54,7 +54,7 @@ int main() assert(re.flags() == std::regex_constants::basic); assert(re.mark_count() == 1); } - + // Test the implicit deduction guides { // basic_regex(string); @@ -87,7 +87,7 @@ int main() assert(re.flags() == std::regex_constants::grep); assert(re.mark_count() == 0); } - + { // basic_regex(const charT*, size_t); std::basic_regex re("ABCDEDEF", 7); |