1-- C45220F.ADA 2 3-- Grant of Unlimited Rights 4-- 5-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, 6-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained 7-- unlimited rights in the software and documentation contained herein. 8-- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making 9-- this public release, the Government intends to confer upon all 10-- recipients unlimited rights equal to those held by the Government. 11-- These rights include rights to use, duplicate, release or disclose the 12-- released technical data and computer software in whole or in part, in 13-- any manner and for any purpose whatsoever, and to have or permit others 14-- to do so. 15-- 16-- DISCLAIMER 17-- 18-- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR 19-- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED 20-- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE 21-- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE 22-- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A 23-- PARTICULAR PURPOSE OF SAID MATERIAL. 24--* 25-- CHECK THAT THE MEMBERSHIP OPERATIONS WORK CORRECTLY FOR DERIVED 26-- BOOLEAN TYPES. 27 28-- GLH 08/01/85 29 30WITH REPORT; 31PROCEDURE C45220F IS 32 33 USE REPORT ; 34 35BEGIN 36 37 TEST( "C45220F" , "CHECK MEMBERSHIP OPERATIONS FOR " & 38 "DERIVED BOOLEAN"); 39 40 DECLARE 41 42 TYPE NEWBOOL IS NEW BOOLEAN; 43 44 VAR : NEWBOOL := FALSE ; 45 CON : CONSTANT NEWBOOL := FALSE ; 46 47 BEGIN 48 49 IF TRUE NOT IN NEWBOOL OR 50 VAR NOT IN NEWBOOL OR 51 CON NOT IN NEWBOOL 52 THEN 53 FAILED( "WRONG VALUES FOR 'IN NEWBOOL'" ); 54 END IF; 55 56 IF NEWBOOL'(FALSE) IN TRUE..FALSE OR 57 VAR NOT IN FALSE..TRUE OR 58 CON IN TRUE..TRUE 59 THEN 60 FAILED( "WRONG VALUES FOR 'IN AAA..BBB'" ); 61 END IF; 62 63 RESULT ; 64 65 END ; 66 67END C45220F ; 68