OpenCores
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] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* Copyright (C) 2001 Free Software Foundation, Inc.  */
2
 
3
/* { dg-do preprocess } */
4
 
5
/* Tests that excess tokens in skipped conditional blocks don't warn.  */
6
 
7
/* Source: Neil Booth, 25 Jul 2001.  */
8
 
9
#if 0
10
#if foo
11
#else foo   /* { dg-bogus "extra tokens" "extra tokens in skipped block" } */
12
#endif foo  /* { dg-bogus "extra tokens" "extra tokens in skipped block" } */
13
#endif bar  /* { dg-warning "extra tokens" "tokens after #endif" } */
14
 

powered by: WebSVN 2.1.0

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