On Sun, May 11, 2025 at 10:34:11 +0200, Thomas Koenig via Gcc wrote: > 2) Dump to standard output and check for the presence of certain > regexps, ignoring anything else. Again, this is something I don't > know how to do.
This is…fraught with peril and fiddliness. If the test can stomach some C++, you can use `<type_traits>` to `static_assert` on declaration properties. See this test as an example of how we ensure ABI stability as far as the header is concerned: https://gitlab.kitware.com/paraview/catalyst/-/blob/master/tests/abi_tests/test_catalyst_abi.cpp --Ben