gcc/testsuite/gcc.dg/debug/dwarf2/dwarf-file1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -gdwarf -dA" } */ |
| 3 | /* { dg-final { scan-assembler "File Entry:|.file" } } */ |
| 4 | /* Verify that a file entry is output for this file. Only systems that |
| 5 | do not define HAVE_AS_DWARF2_DEBUG_LINE will put out "File Entry:", |
| 6 | but systems that do define HAVE_AS_DWARF2_DEBUG_LINE will put out a |
| 7 | ".file" so we check for either. */ |
| 8 | |
| 9 | int bar = 3; |