]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/27_io/headers/ios/synopsis.cc
re PR c++/59378 (Internal compiler error when using __builtin_shuffle in a template...
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / headers / ios / synopsis.cc
1 // { dg-do compile }
2
3 // Copyright (C) 2007-2013 Free Software Foundation, Inc.
4 //
5 // This file is part of the GNU ISO C++ Library. This library is free
6 // software; you can redistribute it and/or modify it under the
7 // terms of the GNU General Public License as published by the
8 // Free Software Foundation; either version 3, or (at your option)
9 // any later version.
10
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15
16 // You should have received a copy of the GNU General Public License along
17 // with this library; see the file COPYING3. If not see
18 // <http://www.gnu.org/licenses/>.
19
20 #include <ios>
21
22 namespace std {
23 #if 0
24 typedef OFF_T streamoff;
25 typedef SZ_T streamsize;
26 #endif
27
28 template <class stateT> class fpos;
29 class ios_base;
30 template <class charT, class traits>
31 class basic_ios;
32
33 // 27.4.5, manipulators:
34 ios_base& boolalpha (ios_base& str);
35 ios_base& noboolalpha(ios_base& str);
36 ios_base& showbase (ios_base& str);
37 ios_base& noshowbase (ios_base& str);
38 ios_base& showpoint (ios_base& str);
39 ios_base& noshowpoint(ios_base& str);
40 ios_base& showpos (ios_base& str);
41 ios_base& noshowpos (ios_base& str);
42 ios_base& skipws (ios_base& str);
43 ios_base& noskipws (ios_base& str);
44 ios_base& uppercase (ios_base& str);
45 ios_base& nouppercase(ios_base& str);
46 ios_base& unitbuf (ios_base& str);
47 ios_base& nounitbuf (ios_base& str);
48 // 27.4.5.2 adjustfield:
49 ios_base& internal (ios_base& str);
50 ios_base& left (ios_base& str);
51 ios_base& right (ios_base& str);
52 // 27.4.5.3 basefield:
53 ios_base& dec (ios_base& str);
54 ios_base& hex (ios_base& str);
55 ios_base& oct (ios_base& str);
56 // 27.4.5.4 floatfield:
57 ios_base& fixed (ios_base& str);
58 ios_base& scientific (ios_base& str);
59 }