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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-debug.C
blob
b8b15d01aee778de7d85fced48d1557fe4bd51bf
1
// PR c++/43502
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-fcompare-debug" }
4
5
void g (int n)
6
{
7
int bef ([]{return 0;}());
8
}
9
struct S {
10
void f (int = []{return 0;}(), int = [] { return 0;}());
11
};
12
int main ()
13
{
14
S ().f ();
15
return 0;
16
}