DEVELOPMENT EDITION · 769442725406
Library Reference
On this page

Package Ada.Assertions

Ada.Assertions (RM 11.4.2): Assert as a procedure. Its check is its precondition, so a call is proved to hold, as pragma Assert is, and Assertion_Error is never raised.

Assertion_Error : exception;

Assert

procedure Assert (Check : Boolean)
  with Global => null, Always_Terminates, Pre => Check;

Assert

procedure Assert (Check : Boolean; Message : String)
  with Global => null, Always_Terminates, Pre => Check;