Index: gdb/testsuite/gdb.ada/tagged_not_init/pck.ads |
diff --git a/gdb/testsuite/gdb.ada/null_array/pck.ads b/gdb/testsuite/gdb.ada/tagged_not_init/pck.ads |
similarity index 78% |
copy from gdb/testsuite/gdb.ada/null_array/pck.ads |
copy to gdb/testsuite/gdb.ada/tagged_not_init/pck.ads |
index be0655e440c7dc0e70a2185fa99c43eed7ec9ae2..19d92951153c2619dd21412bc4963172ebdad2dd 100644 |
--- a/gdb/testsuite/gdb.ada/null_array/pck.ads |
+++ b/gdb/testsuite/gdb.ada/tagged_not_init/pck.ads |
@@ -1,4 +1,4 @@ |
--- Copyright 2008-2012 Free Software Foundation, Inc. |
+-- Copyright 2012 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 |
@@ -16,9 +16,16 @@ |
with System; |
package Pck is |
+ type Base is tagged record |
+ X : Integer := 42; |
+ end record; |
+ |
+ type Extension is new Base with |
+ record |
+ Y : Float := 42.0; |
+ end record; |
function Ident (I : Integer) return Integer; |
procedure Do_Nothing (A : System.Address); |
- |
end Pck; |