blob: cba0370f129b4652a2972c64fbc5166cb29e80b1 [file] [log] [blame]
// PR c++/66387
// { dg-do compile { target c++11 } }
template <typename T>
void
bar (T x)
{
x ();
}
void
foo ()
{
constexpr int a[1] = { 1 };
bar ([&]{ return a[0]; });
}