Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/loop_optimization23.adb @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
-- { dg-do run } -- { dg-options "-O3" } -- PR tree-optimization/71083 with Loop_Optimization23_Pkg; use Loop_Optimization23_Pkg; procedure Loop_Optimization23 is Test : ArrayOfStructB; begin Test (0).b.b := 9999; Foo (Test); if Test (100).b.b /= 9999 then raise Program_Error; end if; end;