diff --git a/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp b/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp index 5cc9cf928..64997d382 100644 --- a/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp +++ b/test/std/iterators/stream.iterators/ostreambuf.iterator/ostreambuf.iter.ops/failed.pass.cpp @@ -19,23 +19,23 @@ template > struct my_streambuf : public std::basic_streambuf { - typedef typename std::basic_streambuf::int_type int_type; - typedef typename std::basic_streambuf::char_type char_type; - - my_streambuf() {} - int_type sputc(char_type) { return Traits::eof(); } - }; + typedef typename std::basic_streambuf::int_type int_type; + typedef typename std::basic_streambuf::char_type char_type; + + my_streambuf() {} + int_type sputc(char_type) { return Traits::eof(); } + }; int main() { { - my_streambuf buf; + my_streambuf buf; std::ostreambuf_iterator i(&buf); i = 'a'; assert(i.failed()); } { - my_streambuf buf; + my_streambuf buf; std::ostreambuf_iterator i(&buf); i = L'a'; assert(i.failed());