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

50 lines
533 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 ()
{
1999-04-26 20:34:20 +02:00
struct {
char c[100];
1999-04-26 20:34:20 +02:00
} cbig;
1999-04-26 20:34:20 +02:00
struct {
int i[800];
1999-04-26 20:34:20 +02:00
} ibig;
1999-04-26 20:34:20 +02:00
struct {
long l[900];
1999-04-26 20:34:20 +02:00
} lbig;
1999-04-26 20:34:20 +02:00
struct {
float f[200];
1999-04-26 20:34:20 +02:00
} fbig;
1999-04-26 20:34:20 +02:00
struct {
double d[300];
1999-04-26 20:34:20 +02:00
} dbig;
1999-04-26 20:34:20 +02:00
struct {
short s[400];
1999-04-26 20:34:20 +02:00
} sbig;
ibig.i[100] = 5;
cbig.c[0] = '\0';
cbig.c[100] = 'A';
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
#ifdef usestubs
set_debug_traps ();
breakpoint ();
#endif
1999-04-26 20:34:20 +02:00
marker1 ();
return 0;
}