* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / decltype67.C
blobe8042ac59e7dadf78126df5c3b3e46fbcf45c1f6
1 // PR c++/85279
2 // { dg-do compile { target c++11 } }
4 template<typename T> struct A
6   void foo(decltype(T())::Y);   // { dg-error {decltype\(T\(\)\)::Y} }
7 };