This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / miscexprs.c
CommitLineData
c906108c
SS
1void marker1 ()
2{
3
4}
5/*
6static struct {
7 char c[100];
8} cbig;
9
10
11static struct {
12 int i[800];
13} ibig;
14
15
16static struct {
17 long l[900];
18} lbig;
19
20static struct {
21 float f[200];
22} fbig;
23
24static struct {
25 double d[300];
26} dbig;
27
28static struct {
29 short s[400];
30} sbig;*/
31
32/*struct {
33 long l[900];
34} lbig;*/
35
36int main()
37{
38
39struct {
40 char c[100];
41} cbig;
42
43
44struct {
45 int i[800];
46} ibig;
47
48
49struct {
50 long l[900];
51} lbig;
52
53struct {
54 float f[200];
55} fbig;
56
57struct {
58 double d[300];
59} dbig;
60
61struct {
62 short s[400];
63} sbig;
64 ibig.i[100] = 5;
65 cbig.c[100] = 'A';
66 fbig.f[100] = 11.99999;
67 dbig.d[202] = 9.99999999;
68 sbig.s[90] = 255;
69 lbig.l[333] = 999999999;
70
71 #ifdef usestubs
72 set_debug_traps();
73 breakpoint();
74 #endif
75 marker1();
76 return 0;
77
78}
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
This page took 0.0284 seconds and 4 git commands to generate.