Debian Codegraph @

gcc/testsuite/g++.dg/cpp2a/constexpr-dtor13.C

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'); }