Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/discr19.adb @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
-- { dg-do compile } procedure Discr19 is type Arr_Int_T is array (Integer range <>) of Integer; type Abs_Tag_Rec_T (N : Integer; M : Integer) is abstract tagged record Arr_Int : Arr_Int_T (1..M); end record; type Tag_Rec_T (M : Integer) is new Abs_Tag_Rec_T (N => 1, M => M) with null record; begin null; end;