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

class S { int a; };
void foo (const S &, int);

template <int N>
void
bar ()
{
  foo ({}); // { dg-error "too few arguments to function" }
}