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 declaration specifiers. Test cases that used to be handled in
|
/* Test declaration specifiers. Test cases that used to be handled in
|
a loop in grokdeclarator. Pedantic cases. */
|
a loop in grokdeclarator. Pedantic cases. */
|
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
|
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-std=gnu89 -pedantic" } */
|
/* { dg-options "-std=gnu89 -pedantic" } */
|
|
|
/* These should all be diagnosed, but only once, not for every
|
/* These should all be diagnosed, but only once, not for every
|
identifier declared. */
|
identifier declared. */
|
|
|
const const int x0, /* { dg-warning "duplicate" } */
|
const const int x0, /* { dg-warning "duplicate" } */
|
x1;
|
x1;
|
|
|
long long x2, /* { dg-warning "long long" } */
|
long long x2, /* { dg-warning "long long" } */
|
x3;
|
x3;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.