old-cross-binutils/gdb/testsuite/gdb.base/twice.c

22 lines
229 B
C
Raw Normal View History

1999-06-28 16:06:02 +00:00
#include <stdio.h>
int nothing ()
{
int x = 3 ;
return x ;
}
1999-06-28 16:06:02 +00:00
int main ()
{
int y ;
#ifdef usestubs
set_debug_traps();
breakpoint();
#endif
y = nothing () ;
printf ("hello\n") ;
1999-06-28 16:06:02 +00:00
return 0;
}