summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/slice_enum.adb
blob: cdaea47d65c5f80519d4c89b2ce5694c0f15a25a (plain)
1
2
3
4
5
6
7
8
--  { dg-do compile }

procedure Slice_Enum is
   Pos : array (Boolean) of Integer;
begin
   Pos (Boolean) := (others => 0);
end;