Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
decltype-auto3.C
blob: 914e87f5b79c34c706ecb2aab1547ed7291d9fe4 [
file
] [
log
] [
blame
]
// PR c++/103403
// { dg-do compile { target c++14 } }
int
main
()
{
int
i
=
1
;
int
&&
r
=
1
;
decltype
(
auto
)
ri
=
(
i
);
decltype
(
auto
)
rr
=
(
r
);
decltype
((
r
))
rr2
=
(
r
);
}