Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/opt79.adb @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
-- { dg-do compile } -- { dg-options "-O" } package body Opt79 is function F (I : Integer) return Arr is A : Arr; procedure Nested is procedure Inner is begin A (1) := 0; end; begin Inner; end; begin Nested; for J in A'Range loop A (J) := I; end loop; return A; end; end Opt79;