URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [skipping2.c] - Rev 12
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-warning "extra tokens" "tokens after #endif" } */