summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/dwarf2-macro.c
blob: 24b598e153c95c768925ebda156e459026e4104e (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 -dA -fverbose-asm" } */
/* { dg-final { scan-assembler "Start new file" { xfail { powerpc-ibm-aix* } } } } */

#define ADD(x) (M + x)

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