As reported in https://github.com/llvm/llvm-project/issues/58929, Clang currently differs from GCC in the handling of empty structs. This commit adds some test coverage for the handling of such structs.
Posting for review rather than committing directly because more eyes on our test coverage for in these areas would be useful.
A follow-up patch implements a fix to match g++.
Assume you updated this test with the not yet committed --full-function-signature option and forgot to remove that before updating the patch?
Please also check if the newly added %s below are supposed to be there.