]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/29_atomics/atomic_integral/operators/increment.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 29_atomics / atomic_integral / operators / increment.cc
1 // { dg-do compile { target c++11 } }
2 // -*- C++ -*-
3
4 // Copyright (C) 2008-2024 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 3, 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 COPYING3. If not see
18 // <http://www.gnu.org/licenses/>.
19
20 #include <atomic>
21 #include <testsuite_common_types.h>
22
23 int main()
24 {
25 __gnu_test::has_increment_operators test;
26 using __gnu_test::atomic_integrals_no_bool;
27 __gnu_cxx::typelist::apply_generator(test, atomic_integrals_no_bool::type());
28 }