2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr25795.c
blobdecbe54e39f231c3a6214d4ae8a4a9757d749340
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fwhole-program" } */
3 /* { dg-final { scan-assembler "mystr" } } */
6 extern const char *mystr; /* normally in a header */
7 const char *mystr __attribute__ ((externally_visible));
8 main()