1195534Sscottl// { dg-options "-std=gnu++11" }
2195534Sscottl// { dg-do compile }
3195534Sscottl
4195534Sscottl// 2010-10-06  Paolo Carlini  <paolo.carlini@oracle.com>
5195534Sscottl
6195534Sscottl// Copyright (C) 2010-2015 Free Software Foundation, Inc.
7195534Sscottl//
8195534Sscottl// This file is part of the GNU ISO C++ Library.  This library is free
9195534Sscottl// software; you can redistribute it and/or modify it under the
10195534Sscottl// terms of the GNU General Public License as published by the
11195534Sscottl// Free Software Foundation; either version 3, or (at your option)
12195534Sscottl// any later version.
13195534Sscottl//
14195534Sscottl// This library is distributed in the hope that it will be useful,
15195534Sscottl// but WITHOUT ANY WARRANTY; without even the implied warranty of
16195534Sscottl// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17195534Sscottl// GNU General Public License for more details.
18195534Sscottl//
19195534Sscottl// You should have received a copy of the GNU General Public License along
20195534Sscottl// with this library; see the file COPYING3.  If not see
21195534Sscottl// <http://www.gnu.org/licenses/>.
22195534Sscottl
23195534Sscottl#include <functional>
24195534Sscottl
25195534Sscottlusing namespace std;
26195534Sscottl
27195534Sscottlstruct T;
28195534Sscottl
29195534Sscottlreference_wrapper<int(float, ...)>::result_type                       i01;
30195534Sscottl// reference_wrapper<int(float, ...) const>::result_type                 i02;
31195534Sscottl// reference_wrapper<int(float, ...) volatile>::result_type              i03;
32195534Sscottl// reference_wrapper<int(float, ...) const volatile>::result_type        i04;
33195534Sscottl
34195534Sscottlreference_wrapper<int(*)(float, ...)>::result_type                    i05;
35195534Sscottlreference_wrapper<int(* const)(float, ...)>::result_type              i06;
36195534Sscottlreference_wrapper<int(* volatile)(float, ...)>::result_type           i07;
37195534Sscottlreference_wrapper<int(* const volatile)(float, ...)>::result_type     i08;
38195534Sscottl
39195534Sscottlreference_wrapper<int(T::*)(float, ...)>::result_type                 i09;
40195534Sscottlreference_wrapper<int(T::*)(float, ...) const>::result_type           i10;
41195534Sscottlreference_wrapper<int(T::*)(float, ...) volatile>::result_type        i11;
42195534Sscottlreference_wrapper<int(T::*)(float, ...) const volatile>::result_type  i12;
43195534Sscottl