view gcc/testsuite/gnat.dg/enum2.adb @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

-- { dg-do run }
-- { dg-options "-gnat05 -O2" }

with Enum2_Pkg; use Enum2_Pkg;

procedure Enum2 is
  type Enum is (A, B, C, D);
  Table : array (B .. C, 1 .. 1) of F_String := (others => (others => Null_String));
begin
  Table := (others => (others => Null_String));
end;