Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/array37.adb @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
line wrap: on
line source
-- { dg-do run } -- { dg-options "-O" } procedure Array37 is type Arr is array (Integer range -1 .. 1) of Integer; A : Arr := (-100, 0, 100); function Ident (I : Integer) return Integer IS begin return I; end; begin if Ident (A (1)) <= Ident (A (0)) then raise Program_Error; end if; end;