* pt.c (tsubst_expr) [DECL_EXPR]: Register capture proxies with register_local_specialization. From-SVN: r251819
18 lines
184 B
C
18 lines
184 B
C
// PR c++/82070
|
|
// { dg-do compile { target c++11 } }
|
|
|
|
namespace a {
|
|
template <typename b>
|
|
void
|
|
c (int, int, b d)
|
|
{
|
|
[d] { [d] {}; };
|
|
}
|
|
}
|
|
void
|
|
e ()
|
|
{
|
|
int f;
|
|
a::c (f, 3, [] {});
|
|
}
|