]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c++/reflection: remove FIXME in members_of5.C
authorMarek Polacek <polacek@redhat.com>
Wed, 25 Feb 2026 18:34:23 +0000 (13:34 -0500)
committerMarek Polacek <polacek@redhat.com>
Wed, 25 Feb 2026 18:35:49 +0000 (13:35 -0500)
The use is no longer needed.

gcc/testsuite/ChangeLog:

* g++.dg/reflect/members_of5.C: Remove a FIXME and declaration.

gcc/testsuite/g++.dg/reflect/members_of5.C

index f1987c6ddccd4aa493023de2c7698dff45576c84..1739283a20a4140842874f2cf9ba9a7e7a1f10fd 100644 (file)
@@ -80,8 +80,6 @@ struct ExplicitRelOps
 };
 ExplicitRelOps a,b;
 static_assert (has_mem (^^ExplicitRelOps, is_operator(op_equals_equals)));
-// FIXME, below check fails without this use
-auto r = a <=> b;
 static_assert (has_mem (^^ExplicitRelOps, is_operator(op_spaceship)));
 
 struct NoEqualDecl