1 // { dg-do compile } 2 // { dg-options "-O -gdwarf-2 -g1 -dA" } 3 static int bar; 4 5 // Verify that with -g1 we still do not generate DIEs for static variables. 6 // { dg-final { scan-assembler-not " DW_TAG_variable" } } 7