Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1z
/
decomp31.C
blob: ebc44b435890b88e3acda9b960a95e313a3b95f2 [
file
] [
log
] [
blame
]
// PR c++/81888
// { dg-do compile { target c++17 } }
struct
S
{
bool
s
=
true
;
};
auto
[
a
]
=
S
{};
template
<
class
T
>
bool
foo
()
noexcept
{
auto
[
c
]
=
T
{};
return
c
;
}
const
bool
b
=
foo
<
S
>
();