summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/var1.c
blob: 04dd1297694fad54d343fe122c8dcdaace4b750b (plain)
1
2
3
4
5
6
7
8
9
10
/* PR 23190 */
/* { dg-do compile }
/* { dg-options "-gdwarf-2 -dA -fno-merge-debug-strings" } */
/* { dg-final { scan-assembler "xyzzy\[^\\n\\r\]+DW_AT_name" } } */

void f(void)
{
   static int xyzzy;
   xyzzy += 3;
}