Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / ada / acats / tests / c2 / c26006a.ada
blobb4e8ce6b2036d10fffeb9d305083ed3c77c7f1ec
1 -- C26006A.ADA
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.
16 -- DISCLAIMER
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 ALL ASCII CHARACTERS CAN APPEAR IN THE MIDDLE OF A STRING
26 -- (I.E., NONE ARE USED IN THE INTERNAL REPRESENTATION TO TERMINATE THE
27 -- STRING).
29 -- JRK 12/12/79
31 WITH REPORT;
32 PROCEDURE C26006A IS
34 USE REPORT;
36 S1 : STRING (1..3) := "A 1";
37 S2 : STRING (1..3) := "A 2";
39 BEGIN
40 TEST ("C26006A", "ALL ASCII CHARACTERS CAN APPEAR IN MIDDLE " &
41 "OF STRINGS");
43 FOR C IN CHARACTER'FIRST .. CHARACTER'LAST LOOP
44 S1 (2) := C;
45 S2 (2) := C;
46 IF S1 = S2 THEN
47 FAILED (CHARACTER'IMAGE(C) & " TERMINATED A " &
48 "STRING = COMPARISON");
49 END IF;
50 END LOOP;
52 RESULT;
53 END C26006A;