2 // { dg-options "-Wall" { target *-*-* } }
5 // Copyright (C) 2004-2013 Free Software Foundation, Inc.
7 // This library is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License as
9 // published by the Free Software Foundation; either version 3, or (at
10 // your option) any later version.
12 // This library is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 // General Public License for more details.
17 // You should have received a copy of the GNU General Public License
18 // along with this library; see the file COPYING3. If not see
19 // <http://www.gnu.org/licenses/>.
22 // Benjamin Kosnik <bkoz@redhat.com>
28 typedef std::ios_base::openmode bitmask_type;
31 case_labels(bitmask_type b)
35 case std::ios_base::app:
37 case std::ios_base::ate:
39 case std::ios_base::binary:
41 case std::ios_base::in:
43 case std::ios_base::out:
45 case std::ios_base::trunc:
47 case std::_S_ios_openmode_end: