(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp2a/
constexpr-dtor14.C
// PR c++/105529
// { dg-do compile { target c++20 } }
// { dg-options "-O" }
// Like constexpr-dtor13.C, except that allocator is not an empty class.

struct allocator {
  constexpr ~allocator() {}
  int a;
};
struct S {
  S(int, int, allocator = allocator());
};
void to_string() { S(0, '\0'); }