]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/testsuite/23_containers/list/modifiers/insert/25288.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / list / modifiers / insert / 25288.cc
CommitLineData
a9a51750 1// { dg-require-time "" }
49ba2588 2// { dg-require-cstdint "" }
a9a51750 3
99dee823 4// Copyright (C) 2005-2021 Free Software Foundation, Inc.
0cb855b7
PC
5//
6// This file is part of the GNU ISO C++ Library. This library is free
7// software; you can redistribute it and/or modify it under the
8// terms of the GNU General Public License as published by the
748086b7 9// Free Software Foundation; either version 3, or (at your option)
0cb855b7
PC
10// any later version.
11
12// This library is distributed in the hope that it will be useful,
2328b1de 13// but WITHOUT ANY WARRANTY; without even the implied warranty of
0cb855b7
PC
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15// GNU General Public License for more details.
16
17// You should have received a copy of the GNU General Public License along
748086b7
JJ
18// with this library; see the file COPYING3. If not see
19// <http://www.gnu.org/licenses/>.
0cb855b7 20
a9a51750 21#include "25288.h"
0cb855b7 22#include <list>
0cb855b7
PC
23
24int main()
25{
875d0f10 26 typedef int value_type;
861de21e 27 typedef __gnu_cxx::throw_allocator_random<value_type> allocator_type;
875d0f10
BK
28 typedef std::list<value_type, allocator_type> list_type;
29
30 insert1<list_type>();
0cb855b7
PC
31 return 0;
32}