OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [trad/] [maccom3.c] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
/* { dg-do preprocess } */
/* { dg-do preprocess } */
/* { dg-options "-CC -traditional-cpp" } */
/* { dg-options "-CC -traditional-cpp" } */
 
 
/* This tests to make sure that comments in the definition of a macro
/* This tests to make sure that comments in the definition of a macro
   parameter list are ignored when the -CC option is used.
   parameter list are ignored when the -CC option is used.
 
 
   Jason R. Thorpe, 6 Apr 2002  */
   Jason R. Thorpe, 6 Apr 2002  */
 
 
#define def(x /**/, y) passed
#define def(x /**/, y) passed
 
 
def(x,y)
def(x,y)
 
 
/* { dg-final { scan-file maccom3.i "(^|\n)passed" } } */
/* { dg-final { scan-file maccom3.i "(^|\n)passed" } } */
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.