summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-debug.C
blob: 07fc1896c81df1d7b4cf79ee67a6ee3ae09d19c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/43502
// { dg-options "-std=c++0x -fcompare-debug" }

void g (int n)
{
  int bef ([]{return 0;}());
}
struct S {
  void f (int = []{return 0;}(), int = [] { return 0;}());
};
int main ()
{
  S ().f ();
  return 0;
}