Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/opt61.adb @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
-- { dg-do run } -- { dg-options "-O2" } with Interfaces; with Opt61_Pkg; use Opt61_Pkg; procedure Opt61 is use type Interfaces.Integer_64; X : constant Int64 := 3125; Y : constant Int64 := 5; Z : constant Int64 := 10; Q, R: Int64; begin Double_Divide (X, Y, Z, Q, R, False); if R /= 25 then raise Program_Error; end if; end;