* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr66130.C
blob5d4a72e1a7bf81e41e8ce64d09ef5de1a11a99d1
1 // PR c++/66130
2 // { dg-do compile { target c++11 } }
4 struct Local
6   void f();
7 };
9 Local *l;
10 void (Local::*ptr)();
11 decltype((l->*ptr)) i;  // { dg-error "member function of type 'void \\(Local::\\)\\(\\)'" }