Debian Codegraph @

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

raw
1 // PR c++/88613
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options -Wtautological-compare }
4
5 void a() {
6 const int b = 5;
7 [=] {
8 if (b != 5)
9 ;
10 }();
11 }