binutils-gdb/gdb/testsuite/gdb.base/miscexprs.c

45 lines
517 B
C
Raw Normal View History

1999-04-26 20:34:20 +02:00
void
marker1 ()
{
1999-04-26 20:34:20 +02:00
}
1999-04-26 20:34:20 +02:00
int
main ()
{
STORAGE struct {
char c[100];
1999-04-26 20:34:20 +02:00
} cbig;
STORAGE struct {
int i[800];
1999-04-26 20:34:20 +02:00
} ibig;
STORAGE struct {
long l[900];
1999-04-26 20:34:20 +02:00
} lbig;
STORAGE struct {
float f[200];
1999-04-26 20:34:20 +02:00
} fbig;
STORAGE struct {
double d[300];
1999-04-26 20:34:20 +02:00
} dbig;
STORAGE struct {
short s[400];
1999-04-26 20:34:20 +02:00
} sbig;
ibig.i[100] = 5;
cbig.c[0] = '\0';
cbig.c[99] = 'A';
1999-04-26 20:34:20 +02:00
fbig.f[100] = 11.99999;
dbig.d[202] = 9.99999999;
sbig.s[90] = 255;
lbig.l[333] = 999999999;
1999-04-26 20:34:20 +02:00
marker1 ();
return 0;
}