[libcxx] [test] Fix comment typos, strip trailing whitespace.
No functional change, no code review. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292434 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// NOTE: Older versions of clang have a bug where they fail to evalute
|
||||
// NOTE: Older versions of clang have a bug where they fail to evaluate
|
||||
// string_view::at as a constant expression.
|
||||
// XFAIL: clang-3.4, clang-3.3
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ int main()
|
||||
Lfoo = L"ABC"sv; assert(Lfoo == L"ABC"); assert(Lfoo == std::wstring_view ( L"ABC"));
|
||||
ufoo = u"ABC"sv; assert(ufoo == u"ABC"); assert(ufoo == std::u16string_view( u"ABC"));
|
||||
Ufoo = U"ABC"sv; assert(Ufoo == U"ABC"); assert(Ufoo == std::u32string_view( U"ABC"));
|
||||
|
||||
|
||||
static_assert( "ABC"sv.size() == 3, "");
|
||||
static_assert(u8"ABC"sv.size() == 3, "");
|
||||
static_assert( L"ABC"sv.size() == 3, "");
|
||||
|
||||
Reference in New Issue
Block a user