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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [maccom6.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do preprocess } */
2
/* { dg-options "-CC" } */
3
 
4
/* This tests to make sure that expressions function properly
5
   when used with macros containing comments and the -CC option
6
   is being used.
7
 
8
   Jason R. Thorpe, 6 Apr 2002  */
9
 
10
#define ONE   1 /* one */
11
#define TWO   2 /* two */
12
#define THREE 3 /* three */
13
 
14
#if (ONE + TWO) != THREE
15
failed
16
#else
17
passed
18
#endif
19
 
20
/* { dg-final { scan-file maccom6.i "(^|\n)passed" } } */

powered by: WebSVN 2.1.0

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