diff --git a/libcxx/test/libcxx/input.output/file.streams/fstreams/filebuf/traits_mismatch.fail.cpp b/libcxx/test/libcxx/input.output/file.streams/fstreams/filebuf/traits_mismatch.fail.cpp index a7378275970f99..c607c6328d3ea5 100644 --- a/libcxx/test/libcxx/input.output/file.streams/fstreams/filebuf/traits_mismatch.fail.cpp +++ b/libcxx/test/libcxx/input.output/file.streams/fstreams/filebuf/traits_mismatch.fail.cpp @@ -17,7 +17,7 @@ int main(int, char**) { - std::basic_filebuf > f; + std::basic_filebuf > f; // expected-error-re@streambuf:* {{{{(static_assert|static assertion)}} failed{{.*}}traits_type::char_type must be the same type as CharT}} // expected-error@fstream:* {{only virtual member functions can be marked 'override'}} // expected-error@fstream:* {{only virtual member functions can be marked 'override'}}