URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* Test GNU parameter forward declarations. Warning with
|
/* Test GNU parameter forward declarations. Warning with
|
-pedantic. */
|
-pedantic. */
|
/* Origin: Joseph Myers <joseph@codesourcery.com> */
|
/* Origin: Joseph Myers <joseph@codesourcery.com> */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-pedantic" } */
|
/* { dg-options "-pedantic" } */
|
|
|
int f1(int a; int a); /* { dg-warning "warning: ISO C forbids forward parameter declarations" } */
|
int f1(int a; int a); /* { dg-warning "warning: ISO C forbids forward parameter declarations" } */
|
int f2(int a; int a) { return 0; } /* { dg-warning "warning: ISO C forbids forward parameter declarations" } */
|
int f2(int a; int a) { return 0; } /* { dg-warning "warning: ISO C forbids forward parameter declarations" } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.