]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/testsuite/ext/pb_ds/regression/list_update_map_rand.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / ext / pb_ds / regression / list_update_map_rand.cc
1 // __gnu_pbds::test::basic_type has ambiguous string conversions in C++17
2 // { dg-do run { target { ! c++1z } } }
3 // { dg-require-time "" }
4
5 // -*- C++ -*-
6
7 // Copyright (C) 2005-2017 Free Software Foundation, Inc.
8 //
9 // This file is part of the GNU ISO C++ Library. This library is free
10 // software; you can redistribute it and/or modify it under the terms
11 // of the GNU General Public License as published by the Free Software
12 // Foundation; either version 3, or (at your option) any later
13 // version.
14
15 // This library is distributed in the hope that it will be useful, but
16 // WITHOUT ANY WARRANTY; without even the implied warranty of
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 // General Public License for more details.
19
20 // You should have received a copy of the GNU General Public License
21 // along with this library; see the file COPYING3. If not see
22 // <http://www.gnu.org/licenses/>.
23
24
25 // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL.
26
27 // Permission to use, copy, modify, sell, and distribute this software
28 // is hereby granted without fee, provided that the above copyright
29 // notice appears in all copies, and that both that copyright notice
30 // and this permission notice appear in supporting documentation. None
31 // of the above authors, nor IBM Haifa Research Laboratories, make any
32 // representation about the suitability of this software for any
33 // purpose. It is provided "as is" without express or implied
34 // warranty.
35
36 /**
37 * @file list_update_data_map_rand.cc
38 * Contains a random-operation test for maps and sets.
39 */
40
41 #define PB_DS_REGRESSION
42
43 #include <regression/rand/assoc/rand_regression_test.hpp>
44 #include <regression/common_type.hpp>
45
46 int
47 main(int argc, char* a_p_argv[])
48 {
49 using namespace __gnu_pbds::test;
50 typedef lu_map_tl_t map_tl_t;
51
52 return rand_regression_test(50, 10,
53 "lu_data_map_rand_regression_test",
54 map_tl_t());
55 }
56