LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / 20030213-1.c
blob35bfe22fe26a1cb3ebd744cbd5498d778112850f
1 /* Testcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html */
2 /* { dg-do link { target fpic } } */
3 /* { dg-options "-O -fpic" } */
5 int *g;
7 int main (void)
9 switch (*g)
11 case 0:
13 switch (*g)
15 case 0: *g = 1; break;
16 case 1:
17 case 2: *g = 1; break;
18 case 3:
19 case 4: *g = 1; break;
21 break;
23 case 1:
25 switch (*g)
27 case 0: *g = 1; break;
28 case 1:
29 case 2: *g = 1; break;
30 case 3:
31 case 4: *g = 1; break;
35 return 0;