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/] [trad/] [funlike-3.c] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 jeremybenn
/* Test that function-like macros are restricted to directives, and
2
   that unterminated ones are warned about.  */
3
 
4
/* { dg-do preprocess } */
5
 
6
#define f(x) x
7
 
8
#if 2 f(/* { dg-error "unterminated" "unterminated macro in directive" } */
9
)
10
#endif
11
 
12
f( /* { dg-error "unterminated" "unterminated macro" } */

powered by: WebSVN 2.1.0

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