//===----------------------------------------------------------------------===// // // ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚThe LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // template > // class basic_fstream // basic_filebuf* rdbuf() const; #include #include int main() { { std::fstream fs; assert(fs.rdbuf()); } { std::wfstream fs; assert(fs.rdbuf()); } }