]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/testsuite/27_io/ios_base/types/iostate/bitmask_operators.cc
cstdatomic: Update to N2798.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / ios_base / types / iostate / bitmask_operators.cc
CommitLineData
bd80bd9b
BK
1// { dg-do compile }
2// -*- C++ -*-
3
50ce8d3d 4// Copyright (C) 2004, 2008 Free Software Foundation, Inc.
bd80bd9b
BK
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
83f51799
KC
18// the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
19// MA 02110-1301, USA.
bd80bd9b
BK
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>
50ce8d3d 34#include <testsuite_common_types.h>
bd80bd9b
BK
35
36int main()
37{
38 __gnu_test::bitmask_operators<std::ios_base::iostate>();
39};