comparison gcc/testsuite/ada/acats/tests/cd/cd300051.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /*
2 -- CD30051.C
3 --
4 -- Grant of Unlimited Rights
5 --
6 -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
7 -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
8 -- unlimited rights in the software and documentation contained herein.
9 -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
10 -- this public release, the Government intends to confer upon all
11 -- recipients unlimited rights equal to those held by the Government.
12 -- These rights include rights to use, duplicate, release or disclose the
13 -- released technical data and computer software in whole or in part, in
14 -- any manner and for any purpose whatsoever, and to have or permit others
15 -- to do so.
16 --
17 -- DISCLAIMER
18 --
19 -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
20 -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
21 -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
22 -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
23 -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
24 -- PARTICULAR PURPOSE OF SAID MATERIAL.
25 --*
26 --
27 -- FUNCTION NAME: _cd3005_1
28 --
29 -- FUNCTION DESCRIPTION:
30 -- This C function returns the sum of its parameter and 1 through
31 -- the function name. The parameter is unchanged.
32 --
33 -- INPUTS:
34 -- This function requires that one parameter, of type int, be passed
35 -- to it.
36 --
37 -- PROCESSING:
38 -- The function will calculate the sum of its parameter and 1
39 -- and return this value as the function result through the function
40 -- name.
41 --
42 -- OUTPUTS:
43 -- The sum of the parameter and 1 is returned through function name.
44 --
45 -- CHANGE HISTORY:
46 -- 12 Oct 95 SAIC Initial prerelease version.
47 -- 14 Feb 97 PWB.CTA Created this file from code appearing in
48 -- CD30005.A (as comments).
49 --!
50 */
51 int _cd30005_1(int Value )
52 {
53 /* int Value */
54
55 return Value + 1;
56 }
57