1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 // template <class charT, class traits = char_traits<charT> >
12 // class basic_ofstream
16 // XFAIL: FROZEN-CXX03-HEADERS-FIXME
20 #include "test_macros.h"
21 #include "operator_hijacker.h"
29 std::basic_ofstream
<char, operator_hijacker_char_traits
<char> > fs
;
31 #ifndef TEST_HAS_NO_WIDE_CHARACTERS
36 std::basic_fstream
<wchar_t, operator_hijacker_char_traits
<wchar_t> > fs
;