URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* Test diagnostic for empty declarations in old-style parameter
|
/* Test diagnostic for empty declarations in old-style parameter
|
declarations. Test with -pedantic. */
|
declarations. Test with -pedantic. */
|
/* Origin: Joseph Myers <joseph@codesourcery.com> */
|
/* Origin: Joseph Myers <joseph@codesourcery.com> */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-std=gnu89 -pedantic" } */
|
/* { dg-options "-std=gnu89 -pedantic" } */
|
|
|
void
|
void
|
f (a, b)
|
f (a, b)
|
int; /* { dg-warning "warning: empty declaration" } */
|
int; /* { dg-warning "warning: empty declaration" } */
|
register; /* { dg-warning "warning: empty declaration" } */
|
register; /* { dg-warning "warning: empty declaration" } */
|
{
|
{
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.