* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr71450-2.C
blob1a7376c85b891b1291a4c5fe8f7b3961b6baea06
1 // PR c++/71450
2 // { dg-do compile { target c++11 } }
4 template <class T>
5 void foo (T t)
6
7   auto x = t + x;       // { dg-error "use of 'x' before deduction of 'auto'" }
10 int
11 main ()
12
13   foo (1);