aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dap/scopes.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.dap/scopes.c')
-rw-r--r--gdb/testsuite/gdb.dap/scopes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dap/scopes.c b/gdb/testsuite/gdb.dap/scopes.c
index ce87db1..a9ad4d8 100644
--- a/gdb/testsuite/gdb.dap/scopes.c
+++ b/gdb/testsuite/gdb.dap/scopes.c
@@ -30,6 +30,7 @@ int main ()
{
const char *inner = "inner block";
- return 0; /* BREAK */
+ /* Make sure to use 'scalar'. */
+ return scalar - 23; /* BREAK */
}
}