2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / struct-size.c
blobd82d730afad4e077abb1bed0f97fe7deab172d7e
1 /* { dg-do compile { target *-*-linux* } } */
2 /* { dg-options "-Wno-pedantic" } */
4 struct S {
5 int a;
6 int b[];
7 } S;
9 struct S s = { 1, { 2, 3 } };
11 /* { dg-final { scan-assembler ".size\[\t \]*s, 12" } } */