Debian Codegraph @

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

raw
1 // PR c++/84560
2 // { dg-do compile { target c++11 } }
3 // { dg-options "" }
4
5 void f() {
6 int n = 1;
7 int m = 1;
8 int d[n][m];
9 [&]() {
10 return d[1]; // { dg-prune-output "sorry" }
11 }();
12 }