aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/arrayptr/foo.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.ada/arrayptr/foo.adb')
-rw-r--r--gdb/testsuite/gdb.ada/arrayptr/foo.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.ada/arrayptr/foo.adb b/gdb/testsuite/gdb.ada/arrayptr/foo.adb
index 8cedd87..c11ccfb 100644
--- a/gdb/testsuite/gdb.ada/arrayptr/foo.adb
+++ b/gdb/testsuite/gdb.ada/arrayptr/foo.adb
@@ -19,6 +19,8 @@ procedure Foo is
type String_Access is access String;
String_P : String_Access := new String'("Hello");
+ Null_String : String_Access := null;
begin
Do_Nothing (String_P'Address); -- STOP
+ Do_Nothing (Null_String'Address);
end Foo;