* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / range-for31.C
blob833f510d2cc58ebcff720b333b4bcb99519f10f4
1 // PR c++/71604
2 // { dg-do compile { target c++11 } }
4 void foo ()
6   int a[2] = { 1, 2 }; 
7   for (struct S { S (int) {} } S : a) // { dg-error "types may not be defined" }
8     ;