Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.c-torture / execute / 20030903-1.c
blob95dad576f2db95a7d0eee99c10a2079714fed304
1 /* Test that we don't let stmt.c think that the enumeration's values are
2 the entire set of possibilities. Such an assumption is false for C,
3 but true for other languages. */
5 enum X { X1 = 1, X2, X3, X4 };
6 static volatile enum X test = 0;
7 static void y(int);
9 int main()
11 switch (test)
13 case X1: y(1); break;
14 case X2: y(2); break;
15 case X3: y(3); break;
16 case X4: y(4); break;
18 return 0;
21 static void y(int x) { abort (); }