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

/* 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" } } */