diff --git a/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp b/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp index f808bcd14..b87f7eb92 100644 --- a/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp +++ b/test/std/input.output/string.streams/stringstream.cons/string.pass.cpp @@ -57,12 +57,12 @@ int main() assert(ss.str() == L"456 1236 "); } { // This is https://bugs.llvm.org/show_bug.cgi?id=33727 - typedef std::basic_string , NoDefaultAllocator > S; - typedef std::basic_stringbuf, NoDefaultAllocator > SB; + typedef std::basic_string , NoDefaultAllocator > S; + typedef std::basic_stringbuf, NoDefaultAllocator > SB; - S s(NoDefaultAllocator(1)); - SB sb(s); - // This test is not required by the standard, but *where else* could it get the allocator? - assert(sb.str().get_allocator() == s.get_allocator()); + S s(NoDefaultAllocator(1)); + SB sb(s); + // This test is not required by the standard, but *where else* could it get the allocator? + assert(sb.str().get_allocator() == s.get_allocator()); } }