* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / ref-qual16.C
blob1d7650bb61bad24ab5d1e52e525a7b32602308fa
1 // PR c++/64297
2 // { dg-do compile { target c++11 } }
4 struct A {
5   typedef int X;
6   template <int> X m_fn1() const;
7 };
8 template <typename> struct is_function {};
9 is_function<int() const &> i;
10 struct D {
11   template <typename Y, typename = is_function<Y>> D(Y);
12 } b(&A::m_fn1<0>);