view gcc/testsuite/gcc.dg/debug/dwarf2/pr93751-1.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

// { 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" } }