]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/decrement.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 29_atomics / atomic_integral / operators / decrement.cc
CommitLineData
4415f7a5 1// { dg-options "-std=gnu++11" }
50ce8d3d
BK
2// { dg-do compile }
3// -*- C++ -*-
afd88205 4
5624e564 5// Copyright (C) 2008-2015 Free Software Foundation, Inc.
afd88205 6
50ce8d3d
BK
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
748086b7 9// published by the Free Software Foundation; either version 3, or (at
50ce8d3d 10// your option) any later version.
afd88205 11
50ce8d3d
BK
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.
afd88205 16
50ce8d3d 17// You should have received a copy of the GNU General Public License
748086b7
JJ
18// along with this library; see the file COPYING3. If not see
19// <http://www.gnu.org/licenses/>.
afd88205
BK
20
21#include <atomic>
50ce8d3d
BK
22#include <testsuite_common_types.h>
23
24int main()
25{
26 __gnu_test::has_decrement_operators test;
27 using __gnu_test::atomic_integrals_no_bool;
28 __gnu_cxx::typelist::apply_generator(test, atomic_integrals_no_bool::type());
9ae63018 29}