blob: c5f3a55c6d206bc74e43ab6e1acaf40e89ff90b0 [file] [log] [blame]
// PR c++/50075
// { dg-options "-std=c++0x -ftemplate-depth=10" }
template <typename T>
auto make_array(const T& il) ->
decltype(make_array(il)) // { dg-error "not declared|no matching|exceeds" }
{ }
int main()
{
int z = make_array(1); // { dg-error "no matching" }
}