summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/maccom3.c
blob: 580c52c067d616d9e2a6b0b3e2738995c601e7ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do preprocess } */
/* { dg-options "-CC" } */

/* This tests to make sure that comments in the definition of a macro
   parameter list are ignored when the -CC option is used.

   Jason R. Thorpe, 6 Apr 2002  */

#define def(x /**/, y) passed

def(x,y)

/* { dg-final { scan-file maccom3.i "(^|\n)passed" } } */