Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/lambda/lambda-lookup-neg.C

raw
1 // Test that we don't crash on a failed lookup.
2 // { dg-do compile { target c++11 } }
3
4 int main()
5 {
6 [i]{}; // { dg-error "not declared" }
7 }