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. */
18 static char i_inner[2];
19 i_inner[0] = 'a'; i_inner[1] = 'b';
25 /* { dg-do compile } */
26 /* { dg-skip-if "No stabs" { mmix-*-* *-*-netware* alpha*-*-* hppa*64*-*-* ia64-*-* *-*-vxworks* } { "*" } { "" } } */
27 /* { dg-skip-if "stabs only" { *-*-* } { "*" } { "-gstabs" } } */
31 /* { dg-final { scan-assembler ".stabs.*i_inner:V" } } */
32 /* { dg-final { scan-assembler ".stabs.*i_outer:S" } } */
33 /* { dg-final { scan-assembler ".stabs.*opta:G" } } */
34 /* { dg-final { scan-assembler ".stabs.*optb:G" } } */