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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [maccom5.c] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do preprocess } */
2
/* { dg-options "-CC" } */
3
 
4
/* This tests to make sure that C++ comments are converted to C comments
5
   when saved in the macro and copied to the output file when the macro
6
   is expanded when the -CC option is used.
7
 
8
   Jason R. Thorpe, 6 Apr 2002  */
9
 
10
#define def // passed
11
 
12
def:
13
 
14
/*
15
   /* The + in the regexp prevents it from matching itself.  */
16
   { dg-final { scan-file maccom5.i "p+assed" } }
17
   { dg-final { scan-file-not maccom5.i "p+assed:" } }
18
*/

powered by: WebSVN 2.1.0

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