Debian Codegraph @

gcc/testsuite/gcc.target/i386/struct-size.c

raw
1 /* { dg-do compile { target *-*-linux* *-*-solaris* } } */
2 /* { dg-options "-Wno-pedantic" } */
3
4 struct S {
5 int a;
6 int b[];
7 } S;
8
9 struct S s = { 1, { 2, 3 } };
10
11 /* { dg-final { scan-assembler ".size\[\t \]*s, 12" } } */