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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [redecl-16.c] - Blame information for rev 868

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

Line No. Rev Author Line
1 149 jeremybenn
/* PR 21502 */
2
/* { dg-do compile } */
3
/* { dg-options "" } */
4
 
5
typedef int IA[];
6
typedef int IA5[5];
7
typedef int IA10[10];
8
typedef IA *IAP;
9
typedef IA5 *IA5P;
10
typedef IA10 *IA10P;
11
extern IAP a[];
12
void
13
f (void)
14
{
15
  extern IA5P a[];
16
}
17
IAP a[] = { 0 }; /* { dg-error "previous definition" } */
18
extern IA10P a[];       /* { dg-error "conflicting types" } */

powered by: WebSVN 2.1.0

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