Update my email address.
[kdbg.git] / kdbg / testprogs / repeats.cpp
bloba7998dfc8573b7c885ac4158a60944ef719b17fe
1 // test <repeats 30 times> in arrays
3 #include <qstring.h>
5 struct Big {
6 struct bog {
7 short b[40];
8 } a[40];
9 short c[40][40];
12 static void f(int)
17 int main()
19 struct Big big = {{{ 2,}}};
20 big.a[0].b[39]=7;
21 big.a[38].b[39]=6;
23 // array of pointer to function
24 void (*apf[30])(int);
26 for (int i = 1; i < 29; i++)
27 apf[i] = f;
29 QString s[300];
31 for (int i = 0; i < 300; i++)
32 s[i].sprintf("String %d", i);
34 s[21] = s[48];
36 int many[300];
37 for (int i = 0; i < 300; i++)
38 many[i] = i;
40 return 0;