Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / libstdc++-v3 / testsuite / ext / pb_ds / regression / list_update_no_data_map_rand.cc
blob72273a8bc3725fc2612dbffc9d801e5797f2ba36
1 // { dg-require-time "" }
3 // -*- C++ -*-
5 // Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc.
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
10 // Foundation; either version 3, or (at your option) any later
11 // version.
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.
18 // You should have received a copy of the GNU General Public License
19 // along with this library; see the file COPYING3. If not see
20 // <http://www.gnu.org/licenses/>.
23 // Copyright (C) 2004 Ami Tavory and Vladimir Dreizin, IBM-HRL.
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.
34 /**
35 * @file lu_no_data_map_rand_regression_test.cpp
36 * Contains a random-operation test for maps and sets.
39 #define PB_DS_REGRESSION
41 #include <regression/rand/assoc/rand_regression_test.hpp>
42 #include <regression/common_type.hpp>
44 int
45 main(int argc, char* a_p_argv[])
47 using namespace __gnu_pbds::test;
48 typedef lu_set_tl_t map_tl_t;
50 return rand_regression_test(50, 10,
51 "lu_no_data_map_rand_regression_test",
52 map_tl_t());