diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/twice.c')
-rw-r--r-- | gdb/testsuite/gdb.base/twice.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/twice.c b/gdb/testsuite/gdb.base/twice.c new file mode 100644 index 0000000..dd12c06 --- /dev/null +++ b/gdb/testsuite/gdb.base/twice.c @@ -0,0 +1,16 @@ +int nothing () + +{ + int x = 3 ; + return x ; +} + + +main () + +{ + int y ; + + y = nothing () ; + printf ("hello\n") ; +} |