summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/trad/maccom1.c
blob: 28602a51aeb8fb39f8a5b7f15e7476aa21c5f24b (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 are ignored between # and the
   directive name when the -CC option is used.

   Jason R. Thorpe, 6 Apr 2002  */

#/**/define def passed

def

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