OSDN Git Service

Convert to Pmode if needed and use force_reg after convert.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / ext / pb_ds / regression / list_update_set_rand.cc
1 // { dg-require-time "" }
2
3 // -*- C++ -*-
4
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.
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
19 // along with this library; see the file COPYING3.  If not see
20 // <http://www.gnu.org/licenses/>.
21
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 /**
35  * @file lu_no_data_map_rand_regression_test.cpp
36  * Contains a random-operation test for maps and sets.
37  */
38
39 #define PB_DS_REGRESSION
40
41 #include <regression/rand/assoc/rand_regression_test.hpp>
42 #include <regression/common_type.hpp>
43
44 int
45 main(int argc, char* a_p_argv[])
46 {
47   using namespace __gnu_pbds::test;
48   typedef lu_set_tl_t map_tl_t;
49
50   return rand_regression_test(50, 10,
51                               "lu_no_data_map_rand_regression_test",
52                               map_tl_t());
53 }
54