aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/pr93751-1.c
blob: 4be170c57d68d11ce58683b8dc12e7eefabfa01c (plain)
1
2
3
4
5
6
// { dg-do compile }
// { dg-options "-O -gdwarf-2 -g1 -dA" }
static int bar;

// Verify that with -g1 we still do not generate DIEs for static variables.
// { dg-final { scan-assembler-not " DW_TAG_variable" } }