* gdb.base/help.exp: Replace most of docstring for "define" with ".*".
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / return.c
CommitLineData
ef44eed1
SS
1/* Test "return" command. */
2
3func1 ()
4{
5 printf("in func1\n");
6}
7
8int
9func2 ()
10{
11 return -5;
12}
13
14double
15func3 ()
16{
17 return -5.0;
18}
19
20main ()
21{
22 func1 ();
23 printf("in main after func1\n");
24 printf("func2 = %d\n", func2 ());
25 printf("func3 = %f\n", func3 ());
26}
This page took 0.048835 seconds and 4 git commands to generate.