mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-24 12:02:36 +08:00
[libcxx] [test] Strip trailing whitespace. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@334676 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user