On Wed, Apr 22, 2026 at 12:32:00PM +0200, Tomasz Kamiński wrote:
>       * g++.dg/cpp26/type-order1.C: New tests.

LGTM.

> --- a/gcc/testsuite/g++.dg/cpp26/type-order1.C
> +++ b/gcc/testsuite/g++.dg/cpp26/type-order1.C
> @@ -92,3 +92,24 @@ constexpr eq <W, W> r;
>  constexpr ne <V, W> s;
>  constexpr eq <U <W>, U <W>> t;
>  constexpr ne <U <V>, U <W>> u;
> +
> +constexpr eq <int[], int[]> v;
> +constexpr ne <int[], int[2]> w;
> +constexpr eq <S[], S[]> x;
> +constexpr ne <S[], S[2]> y;
> +
> +constexpr eq <int (), int ()> z;
> +constexpr eq <int () noexcept, int () noexcept> aa;
> +constexpr ne <int (), int () noexcept> ab;
> +constexpr eq <int () const, int () const> ac;
> +constexpr ne <int (), int () const> ad;
> +constexpr eq <int () &, int () &> ae;
> +constexpr ne <int (), int () &> af;
> +constexpr eq <int (*)() noexcept, int (*)() noexcept> ag;
> +constexpr ne <int (), int (*)()> ah;
> +
> +constexpr eq <int V::*, int V::*> ba;
> +constexpr ne <int V::*, long V::*> bb;
> +constexpr eq <int (V::*)() const& noexcept, int (V::*)() const& noexcept> bc;
> +constexpr ne <int (V::*)(), long (V::*)()> bd;
> +constexpr ne <int (V::*)(), int (*)()> be;

        Jakub

Reply via email to