IVOPT performance tuning patch. The main problem is a variant of maximal weight
[official-gcc.git] / gcc / testsuite / gcc.dg / redecl-6.c
blob164ec974d104e6c88df59eba4489963a04d16e6a
1 /* Test for multiple declarations and composite types. As in bug
2 13801. Illustrates how bug causes correct code to be wrongly
3 diagnosed. */
4 /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
5 /* { dg-do compile } */
6 /* { dg-options "" } */
8 typedef int IA[];
9 typedef int A5[5];
10 typedef int A10[10];
12 A10 array10;
14 A5 *ap;
15 void
16 f (void)
18 int ap;
20 extern IA *ap;
21 /* This assignment is valid. */
22 ap = &array10;