aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/null_overload/foo.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.ada/null_overload/foo.adb')
-rw-r--r--gdb/testsuite/gdb.ada/null_overload/foo.adb6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.ada/null_overload/foo.adb b/gdb/testsuite/gdb.ada/null_overload/foo.adb
index c29316c..55d3fd6 100644
--- a/gdb/testsuite/gdb.ada/null_overload/foo.adb
+++ b/gdb/testsuite/gdb.ada/null_overload/foo.adb
@@ -1,4 +1,4 @@
--- Copyright 2021-2024 Free Software Foundation, Inc.
+-- Copyright 2021-2025 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
@@ -13,6 +13,8 @@
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
+with pck; use pck;
+
procedure Foo is
type R_Type is null record;
@@ -38,5 +40,5 @@ procedure Foo is
U_Ptr : U_P_T := null;
begin
- null; -- START
+ Do_Nothing (U_Ptr'Address); -- START
end Foo;