1 // { dg-options "-D_GLIBCXX_DEBUG" }
2 // { dg-do compile { target c++20 } }
4 // Bug libstdc++/106212 - Code becomes non-constexpr with _GLIBCXX_DEBUG
10 constexpr A(int i
) : e
{i
} {}
11 constexpr bool operator==(const A
& a
) const = default;
15 static_assert(A
{1} != A
{2}, "");