☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
constexpr-dtor13.C
☽
☼
gcc/testsuite/g++.dg/cpp2a/constexpr-dtor13.C
code
plain
raw
1
// PR c++/105529
2
// { dg-do compile { target c++20 } }
3
// { dg-options "-O" }
4
5
struct allocator {
6
constexpr ~allocator() {}
7
};
8
struct S {
9
S(int, int, allocator = allocator());
10
};
11
void to_string() { S(0, '\0'); }