Sign in
gnu
/
gcc
/
772d532e0ba1e4b22c2b7d576e14b34ee929c093
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
constexpr-dtor13.C
blob: 7b289614fc15dad14a34e68500f8493a0e40b2ef [
file
] [
log
] [
blame
]
// PR c++/105529
// { dg-do compile { target c++20 } }
// { dg-options "-O" }
struct
allocator
{
constexpr
~
allocator
()
{}
};
struct
S
{
S
(
int
,
int
,
allocator
=
allocator
());
};
void
to_string
()
{
S
(
0
,
'\0'
);
}