summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-file1.c
blob: c68dfe436e38121a8318fe1744b4984715cba95e (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-O2 -gdwarf-2 -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;