* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / ref-qual18.C
blobaaa00b9cfc3de84c46262026ccdbffc76d36a322
1 // PR c++/71784
2 // { dg-do compile { target c++11 } }
4 template<typename T> struct A {
5   template<typename U> void f(U const&) & { }
6   template<typename U> void f(U const&) && { }
7 };
9 template void A<int>::f<int>(int const&) &;
10 template void A<float>::f<int>(int const&) &&;
12 template<typename T> struct B {
13   void f(int const&) & { }
14   void f(int const&) && { }
17 template void B<int>::f(int const&) &;
18 template void B<float>::f(int const&) &&;