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

/* This tests to make sure that comments between the #define directive
   and the macro identifier are ignored (i.e. treated like whitespace)
   when the -CC option is used.

   Jason R. Thorpe, 6 Apr 2002  */

#define/**/def passed

def

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