Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
);
}