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.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.ada/null_overload/foo.adb b/gdb/testsuite/gdb.ada/null_overload/foo.adb
index 002238f..55d3fd6 100644
--- a/gdb/testsuite/gdb.ada/null_overload/foo.adb
+++ b/gdb/testsuite/gdb.ada/null_overload/foo.adb
@@ -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;