* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / decltype32.C
blob1deb964577d0ff735bcff3976e2a1752dbda8909
1 // PR c++/50075
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-ftemplate-depth=10" }
5 template <typename T>
6 auto make_array(const T& il) ->
7 decltype(make_array(il))    // { dg-error "not declared|no matching|depth" }
8 { }
10 int main()
12   int z = make_array(1);    // { dg-error "no matching" }
15 // { dg-prune-output "compilation terminated" }