OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [declspec-2.c] - Blame information for rev 316

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

Line No. Rev Author Line
1 298 jeremybenn
/* Test declaration specifiers.  Test cases that used to be handled in
2
   a loop in grokdeclarator.  Pedantic cases.  */
3
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
4
/* { dg-do compile } */
5
/* { dg-options "-std=gnu89 -pedantic" } */
6
 
7
/* These should all be diagnosed, but only once, not for every
8
   identifier declared.  */
9
 
10
const const int x0, /* { dg-warning "duplicate" } */
11
x1;
12
 
13
long long x2, /* { dg-warning "long long" } */
14
x3;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.