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