summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr25795-1.c
blob: e568b25440e904c7e64daf5105c81c4bb07b5256 (plain)
1
2
3
4
5
6
7
8
9
10
/* { 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()
{
}