On Mon, May 12, 2025 at 10:54:52AM +0000, Joseph Myers wrote: > On Sun, 11 May 2025, Alejandro Colomar wrote: > > > gcc/ChangeLog: > > > > * Makefile.in (USER_H): Add <stdcountof.h>. > > * ginclude/stdcountof.h: Add countof macro. > > This is missing tests for the header.
Hi Joseph, Yep, I hadn't found any existing tests to base mine on. It seems I didn't search well, because now I've found gcc.dg/c11-align-2.c, which is precisely what I needed. I've included tests for v21. They're quite simple, since the operator is already tested in its own tests. Have a lovely day! Alex -- <https://www.alejandro-colomar.es/>
signature.asc
Description: PGP signature