45e937372830abd370c91a4f901a285a682b0e09
[gcc.git] / gcc / testsuite / gcc.dg / debug / dwarf2 / dwarf2-macro.c
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-2 -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 }