1 /* Test to make sure that stabs for C symbols that go into .comm have the
2 proper structure. These should be lettered G for the struct that gives
3 the name to the .comm, and should be V or S for .lcomm symbols. */
19 static char i_inner
[2] __attribute__ ((used
));
20 i_inner
[0] = 'a'; i_inner
[1] = 'b';
26 /* { dg-do compile } */
27 /* { dg-skip-if "No stabs" { mmix-*-* alpha*-*-* hppa*64*-*-* ia64-*-* *-*-vxworks* } { "*" } { "" } } */
28 /* { dg-skip-if "stabs only" { *-*-* } { "*" } { "-gstabs" } } */
32 /* { dg-final { scan-assembler ".stabs.*i_inner:V" } } */
33 /* { dg-final { scan-assembler ".stabs.*i_outer:S" } } */
34 /* { dg-final { scan-assembler ".stabs.*opta:G" } } */
35 /* { dg-final { scan-assembler ".stabs.*optb:G" } } */