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

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

Line No. Rev Author Line
1 689 jeremybenn
/* 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-error "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.