blob: 7b25c071a67a90f03686a2a82af6c16995c89869 [file] [log] [blame]
/* { dg-do compile { target stabs } } */
/* { dg-options "-gstabs+ -fno-eliminate-unused-debug-types -ftoplevel-reorder" } */
const int foobar = 4;
int foo ()
{
return foobar + 1;
}
int main()
{
int i;
i = foo();
return i;
}
/* { dg-final { scan-assembler ".stabs.*foobar:c=i" } } */