2 /* Adapted from Donn Terry <donnte@microsoft.com> testcase
4 http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html */
6 /* { dg-do run { target *-*-interix* *-*-mingw* *-*-cygwin* } } */
8 /* We don't want the default "pedantic-errors" in this case, since we're
9 testing nonstandard stuff to begin with. */
10 /* { dg-options "-ansi" } */
12 extern void abort(void);
19 } __attribute__((__gcc_struct__
)) ;
27 } __attribute__((__ms_struct__
));
32 /* As long as the sizes are as expected, we know attributes are working.
33 bf-ms-layout.c makes sure the right thing happens when the attribute
35 if (sizeof(struct one_ms
) != 12)
37 if (sizeof(struct one_gcc
) != 8)