bf-ms-attrib.c: Fix expected struct size

Both gcc and msvc agree that the struct size should
be 12, gcc is already correct.

Signed-off-by: Jonathan Yong <10walls@gmail.com>

gcc/testsuite/ChangeLog:

	PR target/113633
	* gcc.dg/bf-ms-attrib.c: Fix expected __ms_struct__ layout
	size.
This commit is contained in:
Jonathan Yong 2025-04-09 14:29:39 +00:00
parent f4cdbd619d
commit 7e6255edeb

View file

@ -32,7 +32,7 @@ main()
/* As long as the sizes are as expected, we know attributes are working.
bf-ms-layout.c makes sure the right thing happens when the attribute
is on. */
if (sizeof(struct one_ms) != 8)
if (sizeof(struct one_ms) != 12)
abort();
if (sizeof(struct one_gcc) != 8)
abort();