URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* Copyright (C) 2008 Free Software Foundation, Inc. */
|
/* Copyright (C) 2008 Free Software Foundation, Inc. */
|
/* PR preprocessor/22168 */
|
/* PR preprocessor/22168 */
|
|
|
/* { dg-do preprocess }
|
/* { dg-do preprocess }
|
{ dg-options -pedantic } */
|
{ dg-options -pedantic } */
|
#if #foo(bar) /* { dg-warning "GCC extension" } */
|
#if #foo(bar) /* { dg-warning "GCC extension" } */
|
int x;
|
int x;
|
#else
|
#else
|
int y;
|
int y;
|
#endif
|
#endif
|
#assert zzz(a) /* { dg-warning "GCC extension" } */
|
#assert zzz(a) /* { dg-warning "GCC extension" } */
|
#unassert yyy /* { dg-warning "GCC extension" } */
|
#unassert yyy /* { dg-warning "GCC extension" } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.