1/* This test program is part of GDB, the GNU debugger.
2
3   Copyright 2019-2020 Free Software Foundation, Inc.
4
5   This program is free software; you can redistribute it and/or modify
6   it under the terms of the GNU General Public License as published by
7   the Free Software Foundation; either version 3 of the License, or
8   (at your option) any later version.
9
10   This program is distributed in the hope that it will be useful,
11   but WITHOUT ANY WARRANTY; without even the implied warranty of
12   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13   GNU General Public License for more details.
14
15   You should have received a copy of the GNU General Public License
16   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
17
18const char            laconic = 'A';
19const char           *const lewd=&laconic;
20
21/* volatile variables */
22
23volatile char vox = 'B';
24volatile unsigned char victuals = 'C';
25volatile short vixen = 200;
26volatile unsigned short vitriol = 300;
27volatile long vellum = 1000;
28volatile unsigned long valve = 2000;
29volatile float vacuity = 3.0;
30volatile double vertigo = 10;
31
32/* pointers to volatile variables */
33
34volatile char           * vampire = &vox;
35volatile unsigned char  * viper  = &victuals;
36volatile short          * vigour = &vixen;
37volatile unsigned short * vapour = &vitriol;
38volatile long           * ventricle = &vellum;
39volatile unsigned long  * vigintillion = &valve;
40volatile float          * vocation = &vacuity;
41volatile double         * veracity = &vertigo;
42
43/* volatile pointers to volatile variables */
44
45volatile char           * volatile vapidity = &vox;
46volatile unsigned char  * volatile velocity = &victuals;
47volatile short          * volatile veneer = &vixen;
48volatile unsigned short * volatile video = &vitriol;
49volatile long           * volatile vacuum = &vellum;
50volatile unsigned long  * volatile veniality = &valve;
51volatile float          * volatile vitality = &vacuity;
52volatile double         * volatile voracity = &vertigo;
53
54/* volatile arrays */
55
56volatile char violent[2];
57volatile unsigned char violet[2];
58volatile short vips[2];
59volatile unsigned short virgen[2];
60volatile long vulgar[2];
61volatile unsigned long vulture[2];
62volatile float vilify[2];
63volatile double villar[2];
64
65/* const volatile vars */
66
67const volatile char           victor = 'Y';
68
69/* pointers to const volatiles */
70
71const volatile char              * victory = &victor;
72
73/* const pointers to const volatile vars */
74
75const volatile char              * const cavern = &victor;
76
77/* volatile pointers to const vars */
78
79const char                       * volatile caveat = &laconic;
80const unsigned char              * volatile covenant;
81
82/* volatile pointers to const volatile vars */
83
84const volatile char              * volatile vizier = &victor;
85const volatile unsigned char     * volatile vanadium;
86
87/* const volatile pointers */
88
89char                             * const volatile vane;
90unsigned char                    * const volatile veldt;
91
92/* const volatile pointers to const vars */
93
94const char                       * const volatile cove;
95const unsigned char              * const volatile cavity;
96
97/* const volatile pointers to volatile vars */
98
99volatile char                    * const volatile vagus;
100volatile unsigned char           * const volatile vagrancy;
101
102/* const volatile pointers to const volatile */
103
104const volatile char              * const volatile vagary;
105const volatile unsigned char     * const volatile vendor;
106
107/* const volatile arrays */
108
109const volatile char vindictive[2];
110const volatile unsigned char vegetation[2];
111
112int
113main (void)
114{
115  return 0;
116}
117