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