]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/lambda/lambda-defarg.C
merge in cxx0x-lambdas-branch@152308
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / lambda / lambda-defarg.C
1 // { dg-options "-std=c++0x -pedantic-errors" }
2
3 int main()
4 {
5 [](int a = 1) { return a; }(); // { dg-error "" }
6 }
This page took 0.036523 seconds and 5 git commands to generate.