summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-defarg2.C
blob: f47c5ba27ae41a4981f887771b158bc70cd977d2 (plain)
1
2
3
4
5
6
7
// PR c++/43886
// { dg-options -std=c++0x }

void f2() {
  int i = 1;
  void g5(int = ([]{ return sizeof i; })());
}