view gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-file1.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-options "-O2 -gdwarf -dA" } */
/* { dg-final { scan-assembler "File Entry:|.file" } } */
/* Verify that a file entry is output for this file.  Only systems that
   do not define HAVE_AS_DWARF2_DEBUG_LINE will put out "File Entry:",
   but systems that do define HAVE_AS_DWARF2_DEBUG_LINE will put out a
   ".file" so we check for either.  */

int bar = 3;