aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/annota1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/annota1.c')
-rw-r--r--gdb/testsuite/gdb.base/annota1.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/annota1.c b/gdb/testsuite/gdb.base/annota1.c
index 7d423e0..6a13ee9 100644
--- a/gdb/testsuite/gdb.base/annota1.c
+++ b/gdb/testsuite/gdb.base/annota1.c
@@ -39,6 +39,12 @@ main ()
printf ("value is %d\n", value);
printf ("my_array[2] is %d\n", my_array[2]);
+
+ {
+ int i;
+ for (i = 0; i < 5; i++)
+ value++;
+ }
return 0;
}