blob: 5b2f6779aafc65c95ce8852016b6af810ba7425d [file] [log] [blame]
// 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" }
}