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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.dap/scopes.c b/gdb/testsuite/gdb.dap/scopes.c
index 8e95c28..2a1d76c 100644
--- a/gdb/testsuite/gdb.dap/scopes.c
+++ b/gdb/testsuite/gdb.dap/scopes.c
@@ -1,4 +1,4 @@
-/* Copyright 2023-2024 Free Software Foundation, Inc.
+/* Copyright 2023-2025 Free Software Foundation, Inc.
This file is part of GDB.
@@ -27,6 +27,8 @@ int main ()
static int scalar = 23;
+ void *ptr = (void *) &scalar;
+
{
const char *inner = "inner block";