view gcc/testsuite/gcc.dg/cpp/maccom3.c @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900
parents 04ced10e8804
children
line wrap: on
line source

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