summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/enum2.adb
blob: e98252a19261864254f634f90e7297fbe791f982 (plain)
1
2
3
4
5
6
7
8
9
10
11
-- { 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;