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