diff options
Diffstat (limited to 'gdb/testshort.c')
-rw-r--r-- | gdb/testshort.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gdb/testshort.c b/gdb/testshort.c new file mode 100644 index 0000000..2c60631 --- /dev/null +++ b/gdb/testshort.c @@ -0,0 +1,16 @@ +main () +{ + register int ntabs; + register short x; + short stops[30]; + + foo (); +} + +foo () +{ + register int ntabs; + register short x; + + printf (x, ntabs); +} |