xref: /netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/twice.c (revision a5a4af3bd380a7b58b758d9b311cef9f7c34aeb4)
1*a5a4af3bSchristos #include <stdio.h>
nothing()2*a5a4af3bSchristos int nothing ()
3*a5a4af3bSchristos 
4*a5a4af3bSchristos {
5*a5a4af3bSchristos     int x = 3 ;
6*a5a4af3bSchristos     return x ;
7*a5a4af3bSchristos }
8*a5a4af3bSchristos 
9*a5a4af3bSchristos 
main()10*a5a4af3bSchristos int main ()
11*a5a4af3bSchristos 
12*a5a4af3bSchristos {
13*a5a4af3bSchristos     int y ;
14*a5a4af3bSchristos     y = nothing () ;
15*a5a4af3bSchristos     printf ("hello\n") ;
16*a5a4af3bSchristos     return 0;
17*a5a4af3bSchristos }
18