pr25795-1.c   [plain text]


/* { dg-do compile } */
/* { dg-options "-O3 -fwhole-program" } */
/* { dg-final { scan-assembler-not "mystr" } } */


extern const char *mystr;       /* normally in a header */
const char *mystr;
main()
{
}