summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro.c
blob: 4efb25e8c22af6af390b82e77b75ea0e0cd04392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Test to make sure the mcaro info includes a start file command for the main source */
/* { dg-do compile } */
/* { dg-options "-g3 -gdwarf-2 -dA -fverbose-asm" } */
/* { dg-final { scan-assembler "Start new file" } } */

#define ADD(x) (M + x)

int main (void)
{
#define N 28
#define M 42
   return ADD(N);
}