Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
pr68278.C
blob: 0336222ba5e950b538a2c8b8898dd555d63ecf84 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++14 } }
int
main
()
{
auto
f
=
[]()
{
return
1
;
};
auto
q
=
[=](
auto
g
)
{
using
type
=
decltype
(
g
(
f
()));
};
q
([](
int
x
){
return
x
;
});
}