Merged r157653 through r157895 into branch.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / lambda / lambda-debug.C
blob07fc1896c81df1d7b4cf79ee67a6ee3ae09d19c3
1 // PR c++/43502
2 // { dg-options "-std=c++0x -fcompare-debug" }
4 void g (int n)
6   int bef ([]{return 0;}());
8 struct S {
9   void f (int = []{return 0;}(), int = [] { return 0;}());
11 int main ()
13   S ().f ();
14   return 0;