blob: d4f35d64a249dc4a8dee56135d380dac8b466ffa [file] [log] [blame]
// PR c++/82882
// { dg-do compile { target c++11 } }
template <typename>
void
foo ()
{
auto v = [] { enum { E, F }; };
}
void
bar ()
{
foo<int> ();
}