OSDN Git Service

Fix test after proper rule enforced by gnat on taft types.
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Apr 2009 09:45:38 +0000 (09:45 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Apr 2009 09:45:38 +0000 (09:45 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146231 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/gnat.dg/ref_type.adb
gcc/testsuite/gnat.dg/ref_type.ads

index 4cead90..3d36b96 100644 (file)
@@ -2,7 +2,6 @@
 --  { dg-do compile }
 
 package body ref_type is
-  type T is tagged null record;
   procedure Print (X : T) is                                   
   begin                                                        
      null;
index 021ca72..550d589 100644 (file)
@@ -1,5 +1,5 @@
 package ref_type is
 private
-   type T is tagged;
+   type T is tagged null record;
    procedure Print (X : T);
 end ref_type;