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/] [if-4.c] - Blame information for rev 823

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

Line No. Rev Author Line
1 149 jeremybenn
/* Regression test for proper error message.  The token name isn't
2
   NUL terminated, so we would print garbage after it.  */
3
/* { dg-do compile } */
4
 
5
#if 1 += 2   /* { dg-error "is not valid" "+= in if" } */
6
syntax_error
7
#endif
8
int foo;

powered by: WebSVN 2.1.0

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