]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/testsuite/27_io/headers/fstream/types_std.cc
Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / headers / fstream / types_std.cc
CommitLineData
7f50ddee 1// { dg-do compile }
803f183a 2// { dg-require-c-std "" }
7f50ddee 3
748086b7 4// Copyright (C) 2007, 2009 Free Software Foundation, Inc.
7f50ddee
DO
5//
6// This file is part of the GNU ISO C++ Library. This library is free
7// software; you can redistribute it and/or modify it under the
8// terms of the GNU General Public License as published by the
748086b7 9// Free Software Foundation; either version 3, or (at your option)
7f50ddee 10// any later version.
a024740d 11
7f50ddee
DO
12// This library is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15// GNU General Public License for more details.
a024740d 16
7f50ddee 17// You should have received a copy of the GNU General Public License along
748086b7
JJ
18// with this library; see the file COPYING3. If not see
19// <http://www.gnu.org/licenses/>.
7f50ddee 20
a024740d 21#include <fstream>
7f50ddee 22
a024740d 23namespace gnu
7f50ddee 24{
a024740d
BK
25 typedef std::filebuf t1;
26 typedef std::wfilebuf t2;
7f50ddee 27
a024740d
BK
28 typedef std::ifstream t3;
29 typedef std::wifstream t4;
7f50ddee 30
a024740d
BK
31 typedef std::ofstream t5;
32 typedef std::wofstream t6;
7f50ddee 33
a024740d
BK
34 typedef std::fstream t7;
35 typedef std::wfstream t8;
7f50ddee 36}