Skip to content

Test resolving nested anonymous structs#4987

Open
andrewstrohman wants to merge 2 commits into
mainfrom
pr/andrewstrohman/nested-anon-struct-test
Open

Test resolving nested anonymous structs#4987
andrewstrohman wants to merge 2 commits into
mainfrom
pr/andrewstrohman/nested-anon-struct-test

Conversation

@andrewstrohman
Copy link
Copy Markdown
Contributor

This test confirms that we can resolve nested anonymous structs.

This program passes a pointer to struct that has nested anonymous
structs at offsets other than 0 in order to test that resolve works as
expected.

Signed-off-by: Andy Strohman <astrohma@isovalent.com>
@andrewstrohman andrewstrohman requested a review from a team as a code owner May 11, 2026 20:22
@andrewstrohman andrewstrohman added the release-note/misc This PR makes changes that have no direct user impact. label May 11, 2026
@andrewstrohman andrewstrohman requested a review from FedeDP May 11, 2026 20:23
@andrewstrohman andrewstrohman force-pushed the pr/andrewstrohman/nested-anon-struct-test branch 2 times, most recently from aed2b3b to 04a13f6 Compare May 11, 2026 21:08
This test is meant to confirm that we calculate offsets correctly when
we resolve nested anonymous structs.

Signed-off-by: Andy Strohman <astrohma@isovalent.com>
Copy link
Copy Markdown
Contributor

@FedeDP FedeDP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/misc This PR makes changes that have no direct user impact.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants