]>
Commit | Line | Data |
---|---|---|
8868286e | 1 | // { dg-options "-std=gnu++11" } |
835e1464 | 2 | // { dg-do compile } |
3 | ||
4 | // 2010-10-06 Paolo Carlini <paolo.carlini@oracle.com> | |
5 | ||
f1717362 | 6 | // Copyright (C) 2010-2016 Free Software Foundation, Inc. |
835e1464 | 7 | // |
8 | // This file is part of the GNU ISO C++ Library. This library is free | |
9 | // software; you can redistribute it and/or modify it under the | |
10 | // terms of the GNU General Public License as published by the | |
11 | // Free Software Foundation; either version 3, or (at your option) | |
12 | // any later version. | |
13 | // | |
14 | // This library is distributed in the hope that it will be useful, | |
15 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | // GNU General Public License for more details. | |
18 | // | |
19 | // You should have received a copy of the GNU General Public License along | |
20 | // with this library; see the file COPYING3. If not see | |
21 | // <http://www.gnu.org/licenses/>. | |
22 | ||
23 | #include <functional> | |
24 | ||
25 | using namespace std; | |
26 | ||
27 | reference_wrapper<int(float)>::argument_type i01; | |
9420ed9b | 28 | // reference_wrapper<int(float) const>::argument_type i02; |
29 | // reference_wrapper<int(float) volatile>::argument_type i03; | |
30 | // reference_wrapper<int(float) const volatile>::argument_type i04; | |
835e1464 | 31 | reference_wrapper<int(float)>::result_type i05; |
9420ed9b | 32 | // reference_wrapper<int(float) const>::result_type i06; |
33 | // reference_wrapper<int(float) volatile>::result_type i07; | |
34 | // reference_wrapper<int(float) const volatile>::result_type i08; | |
835e1464 | 35 | |
36 | reference_wrapper<int(*)(float)>::argument_type i09; | |
37 | reference_wrapper<int(* const)(float)>::argument_type i10; | |
38 | reference_wrapper<int(* volatile)(float)>::argument_type i11; | |
39 | reference_wrapper<int(* const volatile)(float)>::argument_type i12; | |
40 | reference_wrapper<int(*)(float)>::result_type i13; | |
41 | reference_wrapper<int(* const)(float)>::result_type i14; | |
42 | reference_wrapper<int(* volatile)(float)>::result_type i15; | |
43 | reference_wrapper<int(* const volatile)(float)>::result_type i16; | |
44 | ||
45 | reference_wrapper<int(float, char)>::first_argument_type i17; | |
9420ed9b | 46 | // reference_wrapper<int(float, char) const>::first_argument_type i18; |
47 | // reference_wrapper<int(float, char) volatile>::first_argument_type i19; | |
48 | // reference_wrapper<int(float, char) const volatile>::first_argument_type i20; | |
835e1464 | 49 | reference_wrapper<int(float, char)>::second_argument_type i21; |
9420ed9b | 50 | // reference_wrapper<int(float, char) const>::second_argument_type i22; |
51 | // reference_wrapper<int(float, char) volatile>::second_argument_type i23; | |
52 | // reference_wrapper<int(float, char) const volatile>::second_argument_type i24; | |
835e1464 | 53 | reference_wrapper<int(float, char)>::result_type i25; |
9420ed9b | 54 | // reference_wrapper<int(float, char) const>::result_type i26; |
55 | // reference_wrapper<int(float, char) volatile>::result_type i27; | |
56 | // reference_wrapper<int(float, char) const volatile>::result_type i28; | |
835e1464 | 57 | |
58 | reference_wrapper<int(*)(float, char)>::first_argument_type i29; | |
59 | reference_wrapper<int(* const)(float, char)>::first_argument_type i30; | |
60 | reference_wrapper<int(* volatile)(float, char)>::first_argument_type i31; | |
61 | reference_wrapper<int(* const volatile)(float, char)>::first_argument_type i32; | |
62 | reference_wrapper<int(*)(float, char)>::second_argument_type i33; | |
63 | reference_wrapper<int(* const)(float, char)>::second_argument_type i34; | |
64 | reference_wrapper<int(* volatile)(float, char)>::second_argument_type i35; | |
65 | reference_wrapper<int(*const volatile)(float, char)>::second_argument_type i36; | |
66 | reference_wrapper<int(*)(float, char)>::result_type i37; | |
67 | reference_wrapper<int(* const)(float, char)>::result_type i38; | |
68 | reference_wrapper<int(* volatile)(float, char)>::result_type i39; | |
69 | reference_wrapper<int(* const volatile)(float, char)>::result_type i40; |