summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/twice.c
blob: c50a2b362d7492e8cd77ac3355b0b6613f55d5ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
int nothing ()

{
    int x = 3 ;
    return x ;
}


main ()

{
    int y ;
#ifdef usestubs
    set_debug_traps();
    breakpoint();
#endif    
    y = nothing () ;
    printf ("hello\n") ;
}