(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
tree-ssa/
initlist-opt3.C
// PR c++/108266
// { dg-do compile { target c++11 } }

#include <initializer_list>
#include <vector>

struct S { S (const char *); };
void bar (std::vector<S>);

template <int N>
void
foo ()
{
  bar ({"", ""});
}

void
baz ()
{
  foo<0> ();
}