OSDN Git Service

2008-07-28 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / debug / const-3.c
1 /* Make sure we don't emit strings just because of debug information
2    for string initializers.  */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -g" } */
5 /* { dg-final { scan-assembler-not "dontgenerate" } } */
6 static const char *p = "dontgenerate1";
7 static const char *q[2] = { 0, "dontgenerate2" };