1 2 3 4 5 6 7
// Test that we don't crash on a failed lookup. // { dg-options -std=c++0x } int main() { [i]{}; // { dg-error "not declared" } }