Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/predicate7.ads @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
line wrap: on
line source
with Predicate7_Pkg; use Predicate7_Pkg; package Predicate7 is function Always_True (I : My_Int) return Boolean; function Identity (I : My_Int ) return Integer with Pre => Always_True (I); procedure Foo; private function Identity (I : My_Int ) return Integer is (I); function Always_True (I : My_Int) return Boolean is (True); end;