[NDS32] Add intrinsic functions for TLB operation and data prefech.
[official-gcc.git] / gcc / testsuite / gcc.dg / redecl-16.c
blob560b373fb3f1643727ca52842be4eb1fe0d71b70
1 /* PR 21502 */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
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)
15 extern IA5P a[];
17 IAP a[] = { 0 }; /* { dg-message "note: previous definition" } */
18 extern IA10P a[]; /* { dg-error "conflicting types" } */