No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / testsuite / gdb.hp / gdb.base-hp / sized-enum.c
bloba6d57881f48ebbe66fcacd9042d458d9ea259686
2 enum Normal {
3 red,
4 blue,
5 green
6 };
8 short enum Small {
9 pink,
10 cyan,
11 grey
14 char enum Tiny {
15 orange,
16 yellow,
17 brown
21 main()
23 enum Normal normal[3];
24 short enum Small small[3];
25 char enum Tiny tiny[3];
26 int i;
28 for (i=0; i < 3; i++)
30 normal[i] = (enum Normal) i;
31 small[i] = (short enum Small) i;
32 tiny[i] = (char enum Tiny) i;
34 normal[0] = 0; /* place to hang a breakpoint */