Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / gcc.dg / debug / const-3.c
blob2e9db490cb7ad89b8aa3dcbf3470202ff7738fbb
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" };