PR c++/60992 * pt.c (tsubst_copy): Handle lookup finding a capture proxy. From-SVN: r246793
13 lines
171 B
C
13 lines
171 B
C
// PR c++/80267
|
|
// { dg-do compile { target c++11 } }
|
|
|
|
template <typename> void a() {
|
|
int b;
|
|
auto &c = b;
|
|
[&] {
|
|
c;
|
|
[&] { c; };
|
|
};
|
|
}
|
|
void d() { a<int>(); }
|