blob: 198453575b3240bfbc8eb0cafdb8bf72fe69672a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* { 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 { if ![file exists maccom3.i] { return } } }
{ dg-final { if { [grep maccom3.i "^passed"] != "" } { return } } }
{ dg-final { fail "maccom3.c: comment in macro parameter list with -CC" } }
*/
|