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