Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / lookup / struct-hack1.C
blobe84d65b335507a2716dd8243b844b46671eb755a
1 // { dg-do compile }
3 // Copyright (C) 2003 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 19 Apr 2003 <nathan@codesourcery.com>
6 // PR 10405. ICE
8 #define MEM_ENUM(name) int name; enum name {};
10 struct Base
12   MEM_ENUM (a)
13   MEM_ENUM (b)
14   MEM_ENUM (c)
15   MEM_ENUM (d)
16   MEM_ENUM (e)
17   MEM_ENUM (f)
18   MEM_ENUM (g)
19   MEM_ENUM (h)
20   MEM_ENUM (i)
21   MEM_ENUM (j)
22   MEM_ENUM (k)
23   MEM_ENUM (l)
24   MEM_ENUM (m)
25   MEM_ENUM (n)
26   MEM_ENUM (o)
27   MEM_ENUM (p)
28   MEM_ENUM (q)
29   MEM_ENUM (r)
30   MEM_ENUM (s)
31   MEM_ENUM (t)
32   MEM_ENUM (u)
33   MEM_ENUM (v)
34   MEM_ENUM (w)
35     };
37 struct D : Base  {};