gcc:
[official-gcc.git] / gcc / testsuite / gcc.c-torture / unsorted / dump-noaddr.c
blob11dd78b8f69a3ba8edbc31c4c4b27f398038738d
1 #if MASK & 1
2 #define t16(x) x x x x x x x x x x x x x x x x
3 #define M (sizeof (t16(t16(t16(t16(t16(" ")))))) - 1)
4 #endif
5 #if MASK & 2
6 #define M 1048576
7 #endif
9 typedef struct s {
10 int c;
11 void *vp;
12 struct s *s;
13 }s;
15 typedef int (*fpt) (const char *, void *, int *);
17 int M_var = M;
19 extern void exit (int);
21 int
22 f (int start, int end, int *a, int *b, int c, s *sp)
24 int count = 0;
25 int i;
27 for (i = start; i <= end; i++)
29 a[i] = b[i] + c;
30 count ++;
32 (*(fpt)sp->s->vp) ("Hello World!\n", &exit, &M_var);
33 return count;
36 int
37 g (int i)
39 switch (i)
41 case 1: return 42;
42 case 2: return 60;
43 case 3: return 7;
44 case 4: return 3;
45 case 5: return M;
46 default: return 0;