Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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>
();
}