gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro.c
raw| 1 | /* Test to make sure the mcaro info includes a start file command for the main source */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-g3 -gdwarf -dA -fverbose-asm" } */ |
| 4 | /* { dg-final { scan-assembler "Start new file" } } */ |
| 5 | |
| 6 | #define ADD(x) (M + x) |
| 7 | |
| 8 | int main (void) |
| 9 | { |
| 10 | #define N 28 |
| 11 | #define M 42 |
| 12 | return ADD(N); |
| 13 | } |