compiler: give error for non-int arguments to make
[official-gcc.git] / gcc / testsuite / gnat.dg / slice_enum.adb
blobcdaea47d65c5f80519d4c89b2ce5694c0f15a25a
1 -- { dg-do compile }
3 procedure Slice_Enum is
4 Pos : array (Boolean) of Integer;
5 begin
6 Pos (Boolean) := (others => 0);
7 end;