* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / auto5.C
blob8ed66d1ea36aa6bd40d60f747dfcf81d1f864da2
1 // Testcase for non-dependent auto in templates
2 // { dg-do compile { target c++11 } }
4 struct A
6   template<class> void f();
7 } a;
9 template <class T>
10 void g()
12   auto aa = a;
13   aa.f<int>();
15   auto p = new auto (a);
16   p->f<int>();
19 int main()
21   g<double>();