Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr82882.C
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>
();
}