repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merged r157653 through r157895 into branch.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-debug.C
blob
07fc1896c81df1d7b4cf79ee67a6ee3ae09d19c3
1
// PR c++/43502
2
// { dg-options "-std=c++0x -fcompare-debug" }
3
4
void g (int n)
5
{
6
int bef ([]{return 0;}());
7
}
8
struct S {
9
void f (int = []{return 0;}(), int = [] { return 0;}());
10
};
11
int main ()
12
{
13
S ().f ();
14
return 0;
15
}