1 /*
 2  * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
 3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 4  *
 5  * This code is free software; you can redistribute it and/or modify it
 6  * under the terms of the GNU General Public License version 2 only, as
 7  * published by the Free Software Foundation.
 8  *
 9  * This code is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12  * version 2 for more details (a copy is included in the LICENSE file that
13  * accompanied this code).
14  *
15  * You should have received a copy of the GNU General Public License version
16  * 2 along with this work; if not, write to the Free Software Foundation,
17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20  * or visit www.oracle.com if you need additional information or have any
21  * questions.
22  */
23 
24 struct Point;
25 struct Point;
26 
27 int i;
28 int i;
29 
30 void func(int);
31 void func(int abc);
32 void func(int xyz);
33 void func2(int);
34 void func2(int abc);
35 void func2(int xyz);
36 
37 typedef int INT;
38 void func(INT);
39 void func(INT abc);
40 void func(INT xyz);
41 void func2(INT);
42 void func2(INT abc);
43 void func2(INT xyz);
44 
45 typedef int* INTPTR;
46 void func3(INTPTR x);
47 void func3(int* x);
48 void func4(INTPTR x);
49 void func4(int* x);
50 
51 typedef int Integer;
52 void func(Integer x);
53 void func5(int x);
54 void func5(Integer x);
55 void func5(INT x);
56 
57 struct Point;
58 struct Point {
59    int i;
60    int j;
61 };
62 
63 typedef struct Point POINT;
64 typedef struct Point Point_t;
65 
66 double distance(struct Point p);
67 double distance(POINT p);
68 
69 typedef struct Point3D {
70     int i;
71     int j;
72     int k;
73 } Point3D_t;
74 struct Point3D;
75 
76 enum RGBColor;
77 enum RGBColor {
78    R, G, B
79 };
80 
81 enum CMYColor {
82   C, M, Y
83 };
84 enum CMYColor;