(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
auto42.C
// PR c++/60628
// { dg-do compile { target c++11 } }

#include <initializer_list>

void foo(int i)
{
  auto x[1] = { 0 };		// { dg-error "19:unable to deduce" }
}