Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
dtor17.C
blob: 1fca4132b87fb95445c36f2286bfae6d43077dc1 [
file
] [
log
] [
blame
]
// PR c++/65091
// { dg-do compile { target c++11 } }
template
<
typename
T
>
auto
foo
(
T x
)
->
decltype
(~
x
)
{
return
~
x
;
}
int
bar
()
{
return
foo
(
10
);
}