Sign in
gnu
/
gcc
/
4a0fed0c0c7241562eaa5f1a4c916b689429ad86
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-defarg9.C
blob: f0436adfe9a2517ee699eb2744be28fa2382f621 [
file
] [
log
] [
blame
]
// PR c++/89422
// { dg-do compile { target c++11 } }
// { dg-additional-options -g }
template
<int>
struct
S
{
friend
void
foo
(
int
a
=
[]{
return
0
;
}())
{}
int
b
;
};
S
<
0
>
t
;