forked from OSchip/llvm-project
[libcxx] [test] Strip trailing whitespace.
No functional change, no code review. llvm-svn: 294161
This commit is contained in:
parent
881d861346
commit
134ed9986a
|
@ -112,15 +112,15 @@ int main()
|
|||
typedef std::basic_string<char, std::char_traits<char>, A> S;
|
||||
const char * p1 = "This is my first string";
|
||||
const char * p2 = "This is my second string";
|
||||
|
||||
|
||||
alloc_imp<char> imp1;
|
||||
alloc_imp<char> imp2;
|
||||
S s1(p1, A(&imp1));
|
||||
S s2(p2, A(&imp2));
|
||||
|
||||
|
||||
assert(s1 == p1);
|
||||
assert(s2 == p2);
|
||||
|
||||
|
||||
imp2.deactivate();
|
||||
test_assign(s1, s2);
|
||||
assert(s1 == p1);
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
// [optional.nullopt]/2:
|
||||
// Type nullopt_t shall not have a default constructor or an initializer-list constructor.
|
||||
// It shall not be an aggregate and shall be a literal type.
|
||||
// It shall not be an aggregate and shall be a literal type.
|
||||
// Constant nullopt shall be initialized with an argument of literal type.
|
||||
|
||||
#include <optional>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
// [optional.nullopt]/2:
|
||||
// Type nullopt_t shall not have a default constructor or an initializer-list constructor.
|
||||
// It shall not be an aggregate and shall be a literal type.
|
||||
// It shall not be an aggregate and shall be a literal type.
|
||||
// Constant nullopt shall be initialized with an argument of literal type.
|
||||
|
||||
#include <optional>
|
||||
|
|
Loading…
Reference in New Issue