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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [skipping2.c] - Rev 689

Compare with Previous | Blame | View Log

/* Copyright (C) 2001 Free Software Foundation, Inc.  */
 
/* { dg-do preprocess } */
 
/* Tests that excess tokens in skipped conditional blocks don't warn.  */
 
/* Source: Neil Booth, 25 Jul 2001.  */
 
#if 0
#if foo
#else foo   /* { dg-bogus "extra tokens" "extra tokens in skipped block" } */
#endif foo  /* { dg-bogus "extra tokens" "extra tokens in skipped block" } */
#endif bar  /* { dg-error "extra tokens" "tokens after #endif" } */
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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