1// { dg-do compile }
2// -*- C++ -*-
3
4// Copyright (C) 2004 Free Software Foundation, Inc.
5
6// This library is free software; you can redistribute it and/or
7// modify it under the terms of the GNU General Public License as
8// published by the Free Software Foundation; either version 2, or (at
9// your option) any later version.
10
11// This library is distributed in the hope that it will be useful, but
12// WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14// General Public License for more details.
15
16// You should have received a copy of the GNU General Public License
17// along with this library; see the file COPYING.  If not, write to
18// the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
19// MA 02110-1301, USA.
20
21// As a special exception, you may use this file as part of a free
22// software library without restriction.  Specifically, if other files
23// instantiate templates or use macros or inline functions from this
24// file, or you compile this file and link it with other files to
25// produce an executable, this file does not by itself cause the
26// resulting executable to be covered by the GNU General Public
27// License.  This exception does not however invalidate any other
28// reasons why the executable file might be covered by the GNU General
29// Public License.
30
31// Benjamin Kosnik  <bkoz@redhat.com>
32
33#include <ios>
34#include <testsuite_hooks.h>
35
36int main()
37{
38  __gnu_test::bitmask_operators<std::ios_base::openmode>();
39};
40