Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nested6.C

raw
1 // PR c++/80267
2 // { dg-do compile { target c++11 } }
3
4 template <typename> void a() {
5 int b;
6 auto &c = b;
7 [&] {
8 c;
9 [&] { c; };
10 };
11 }
12 void d() { a<int>(); }