1 // REQUIRED_ARGS: -verrors=0
2 
3 // REQUIRED_ARGS: -version=DigitalMars
4 // REQUIRED_ARGS: -version=GNU
5 // REQUIRED_ARGS: -version=LDC
6 // REQUIRED_ARGS: -version=SDC
7 // REQUIRED_ARGS: -version=Windows
8 // REQUIRED_ARGS: -version=Win32
9 // REQUIRED_ARGS: -version=Win64
10 // REQUIRED_ARGS: -version=linux
11 // REQUIRED_ARGS: -version=OSX
12 // REQUIRED_ARGS: -version=FreeBSD
13 // REQUIRED_ARGS: -version=OpenBSD
14 // REQUIRED_ARGS: -version=NetBSD
15 // REQUIRED_ARGS: -version=DragonFlyBSD
16 // REQUIRED_ARGS: -version=BSD
17 // REQUIRED_ARGS: -version=Solaris
18 // REQUIRED_ARGS: -version=Posix
19 // REQUIRED_ARGS: -version=AIX
20 // REQUIRED_ARGS: -version=Haiku
21 // REQUIRED_ARGS: -version=SkyOS
22 // REQUIRED_ARGS: -version=SysV3
23 // REQUIRED_ARGS: -version=SysV4
24 // REQUIRED_ARGS: -version=Hurd
25 // REQUIRED_ARGS: -version=Android
26 // REQUIRED_ARGS: -version=Cygwin
27 // REQUIRED_ARGS: -version=MinGW
28 // REQUIRED_ARGS: -version=FreeStanding
29 // REQUIRED_ARGS: -version=X86
30 // REQUIRED_ARGS: -version=X86_64
31 // REQUIRED_ARGS: -version=ARM
32 // REQUIRED_ARGS: -version=ARM_Thumb
33 // REQUIRED_ARGS: -version=ARM_SoftFloat
34 // REQUIRED_ARGS: -version=ARM_SoftFP
35 // REQUIRED_ARGS: -version=ARM_HardFloat
36 // REQUIRED_ARGS: -version=AArch64
37 // REQUIRED_ARGS: -version=Epiphany
38 // REQUIRED_ARGS: -version=PPC
39 // REQUIRED_ARGS: -version=PPC_SoftFloat
40 // REQUIRED_ARGS: -version=PPC_HardFloat
41 // REQUIRED_ARGS: -version=PPC64
42 // REQUIRED_ARGS: -version=IA64
43 // REQUIRED_ARGS: -version=MIPS32
44 // REQUIRED_ARGS: -version=MIPS64
45 // REQUIRED_ARGS: -version=MIPS_O32
46 // REQUIRED_ARGS: -version=MIPS_N32
47 // REQUIRED_ARGS: -version=MIPS_O64
48 // REQUIRED_ARGS: -version=MIPS_N64
49 // REQUIRED_ARGS: -version=MIPS_EABI
50 // REQUIRED_ARGS: -version=MIPS_SoftFloat
51 // REQUIRED_ARGS: -version=MIPS_HardFloat
52 // REQUIRED_ARGS: -version=NVPTX
53 // REQUIRED_ARGS: -version=NVPTX64
54 // REQUIRED_ARGS: -version=RISCV32
55 // REQUIRED_ARGS: -version=RISCV64
56 // REQUIRED_ARGS: -version=SPARC
57 // REQUIRED_ARGS: -version=SPARC_V8Plus
58 // REQUIRED_ARGS: -version=SPARC_SoftFloat
59 // REQUIRED_ARGS: -version=SPARC_HardFloat
60 // REQUIRED_ARGS: -version=SPARC64
61 // REQUIRED_ARGS: -version=S390
62 // REQUIRED_ARGS: -version=S390X
63 // REQUIRED_ARGS: -version=SystemZ
64 // REQUIRED_ARGS: -version=HPPA
65 // REQUIRED_ARGS: -version=HPPA64
66 // REQUIRED_ARGS: -version=SH
67 // REQUIRED_ARGS: -version=Alpha
68 // REQUIRED_ARGS: -version=Alpha_SoftFloat
69 // REQUIRED_ARGS: -version=Alpha_HardFloat
70 // REQUIRED_ARGS: -version=LittleEndian
71 // REQUIRED_ARGS: -version=BigEndian
72 // REQUIRED_ARGS: -version=ELFv1
73 // REQUIRED_ARGS: -version=ELFv2
74 // REQUIRED_ARGS: -version=CRuntime_Bionic
75 // REQUIRED_ARGS: -version=CRuntime_DigitalMars
76 // REQUIRED_ARGS: -version=CRuntime_Glibc
77 // REQUIRED_ARGS: -version=CRuntime_Microsoft
78 // REQUIRED_ARGS: -version=CRuntime_Musl
79 // REQUIRED_ARGS: -version=CRuntime_UClibc
80 // REQUIRED_ARGS: -version=CppRuntime_Clang
81 // REQUIRED_ARGS: -version=CppRuntime_DigitalMars
82 // REQUIRED_ARGS: -version=CppRuntime_Gcc
83 // REQUIRED_ARGS: -version=CppRuntime_Microsoft
84 // REQUIRED_ARGS: -version=CppRuntime_Sun
85 // REQUIRED_ARGS: -version=D_Coverage
86 // REQUIRED_ARGS: -version=D_Ddoc
87 // REQUIRED_ARGS: -version=D_InlineAsm_X86
88 // REQUIRED_ARGS: -version=D_InlineAsm_X86_64
89 // REQUIRED_ARGS: -version=D_LP64
90 // REQUIRED_ARGS: -version=D_X32
91 // REQUIRED_ARGS: -version=D_HardFloat
92 // REQUIRED_ARGS: -version=D_SoftFloat
93 // REQUIRED_ARGS: -version=D_PIC
94 // REQUIRED_ARGS: -version=D_SIMD
95 // REQUIRED_ARGS: -version=D_Version2
96 // REQUIRED_ARGS: -version=D_NoBoundsChecks
97 // REQUIRED_ARGS: -version=unittest
98 // REQUIRED_ARGS: -version=assert
99 // REQUIRED_ARGS: -version=all
100 // REQUIRED_ARGS: -version=none
101 // REQUIRED_ARGS: -debug=DigitalMars
102 // REQUIRED_ARGS: -debug=GNU
103 // REQUIRED_ARGS: -debug=LDC
104 // REQUIRED_ARGS: -debug=SDC
105 // REQUIRED_ARGS: -debug=Windows
106 // REQUIRED_ARGS: -debug=Win32
107 // REQUIRED_ARGS: -debug=Win64
108 // REQUIRED_ARGS: -debug=linux
109 // REQUIRED_ARGS: -debug=OSX
110 // REQUIRED_ARGS: -debug=FreeBSD
111 // REQUIRED_ARGS: -debug=OpenBSD
112 // REQUIRED_ARGS: -debug=NetBSD
113 // REQUIRED_ARGS: -debug=DragonFlyBSD
114 // REQUIRED_ARGS: -debug=BSD
115 // REQUIRED_ARGS: -debug=Solaris
116 // REQUIRED_ARGS: -debug=Posix
117 // REQUIRED_ARGS: -debug=AIX
118 // REQUIRED_ARGS: -debug=Haiku
119 // REQUIRED_ARGS: -debug=SkyOS
120 // REQUIRED_ARGS: -debug=SysV3
121 // REQUIRED_ARGS: -debug=SysV4
122 // REQUIRED_ARGS: -debug=Hurd
123 // REQUIRED_ARGS: -debug=Android
124 // REQUIRED_ARGS: -debug=Cygwin
125 // REQUIRED_ARGS: -debug=MinGW
126 // REQUIRED_ARGS: -debug=FreeStanding
127 // REQUIRED_ARGS: -debug=X86
128 // REQUIRED_ARGS: -debug=X86_64
129 // REQUIRED_ARGS: -debug=ARM
130 // REQUIRED_ARGS: -debug=ARM_Thumb
131 // REQUIRED_ARGS: -debug=ARM_SoftFloat
132 // REQUIRED_ARGS: -debug=ARM_SoftFP
133 // REQUIRED_ARGS: -debug=ARM_HardFloat
134 // REQUIRED_ARGS: -debug=AArch64
135 // REQUIRED_ARGS: -debug=Epiphany
136 // REQUIRED_ARGS: -debug=PPC
137 // REQUIRED_ARGS: -debug=PPC_SoftFloat
138 // REQUIRED_ARGS: -debug=PPC_HardFloat
139 // REQUIRED_ARGS: -debug=PPC64
140 // REQUIRED_ARGS: -debug=IA64
141 // REQUIRED_ARGS: -debug=MIPS32
142 // REQUIRED_ARGS: -debug=MIPS64
143 // REQUIRED_ARGS: -debug=MIPS_O32
144 // REQUIRED_ARGS: -debug=MIPS_N32
145 // REQUIRED_ARGS: -debug=MIPS_O64
146 // REQUIRED_ARGS: -debug=MIPS_N64
147 // REQUIRED_ARGS: -debug=MIPS_EABI
148 // REQUIRED_ARGS: -debug=MIPS_SoftFloat
149 // REQUIRED_ARGS: -debug=MIPS_HardFloat
150 // REQUIRED_ARGS: -debug=NVPTX
151 // REQUIRED_ARGS: -debug=NVPTX64
152 // REQUIRED_ARGS: -debug=SPARC
153 // REQUIRED_ARGS: -debug=SPARC_V8Plus
154 // REQUIRED_ARGS: -debug=SPARC_SoftFloat
155 // REQUIRED_ARGS: -debug=SPARC_HardFloat
156 // REQUIRED_ARGS: -debug=SPARC64
157 // REQUIRED_ARGS: -debug=S390
158 // REQUIRED_ARGS: -debug=S390X
159 // REQUIRED_ARGS: -debug=SystemZ
160 // REQUIRED_ARGS: -debug=HPPA
161 // REQUIRED_ARGS: -debug=HPPA64
162 // REQUIRED_ARGS: -debug=SH
163 // REQUIRED_ARGS: -debug=Alpha
164 // REQUIRED_ARGS: -debug=Alpha_SoftFloat
165 // REQUIRED_ARGS: -debug=Alpha_HardFloat
166 // REQUIRED_ARGS: -debug=LittleEndian
167 // REQUIRED_ARGS: -debug=BigEndian
168 // REQUIRED_ARGS: -debug=ELFv1
169 // REQUIRED_ARGS: -debug=ELFv2
170 // REQUIRED_ARGS: -debug=CRuntime_Bionic
171 // REQUIRED_ARGS: -debug=CRuntime_DigitalMars
172 // REQUIRED_ARGS: -debug=CRuntime_Glibc
173 // REQUIRED_ARGS: -debug=CRuntime_Microsoft
174 // REQUIRED_ARGS: -debug=CRuntime_Musl
175 // REQUIRED_ARGS: -debug=CRuntime_UClibc
176 // REQUIRED_ARGS: -debug=CppRuntime_Clang
177 // REQUIRED_ARGS: -debug=CppRuntime_DigitalMars
178 // REQUIRED_ARGS: -debug=CppRuntime_Gcc
179 // REQUIRED_ARGS: -debug=CppRuntime_Microsoft
180 // REQUIRED_ARGS: -debug=CppRuntime_Sun
181 // REQUIRED_ARGS: -debug=D_Coverage
182 // REQUIRED_ARGS: -debug=D_Ddoc
183 // REQUIRED_ARGS: -debug=D_InlineAsm_X86
184 // REQUIRED_ARGS: -debug=D_InlineAsm_X86_64
185 // REQUIRED_ARGS: -debug=D_LP64
186 // REQUIRED_ARGS: -debug=D_X32
187 // REQUIRED_ARGS: -debug=D_HardFloat
188 // REQUIRED_ARGS: -debug=D_SoftFloat
189 // REQUIRED_ARGS: -debug=D_PIC
190 // REQUIRED_ARGS: -debug=D_SIMD
191 // REQUIRED_ARGS: -debug=D_Version2
192 // REQUIRED_ARGS: -debug=D_NoBoundsChecks
193 // REQUIRED_ARGS: -debug=unittest
194 // REQUIRED_ARGS: -debug=assert
195 // REQUIRED_ARGS: -debug=all
196 // REQUIRED_ARGS: -debug=none
197 /*
198 TEST_OUTPUT:
199 ---
200 Error: version identifier `DigitalMars` is reserved and cannot be set
201 Error: version identifier `GNU` is reserved and cannot be set
202 Error: version identifier `LDC` is reserved and cannot be set
203 Error: version identifier `SDC` is reserved and cannot be set
204 Error: version identifier `Windows` is reserved and cannot be set
205 Error: version identifier `Win32` is reserved and cannot be set
206 Error: version identifier `Win64` is reserved and cannot be set
207 Error: version identifier `linux` is reserved and cannot be set
208 Error: version identifier `OSX` is reserved and cannot be set
209 Error: version identifier `FreeBSD` is reserved and cannot be set
210 Error: version identifier `OpenBSD` is reserved and cannot be set
211 Error: version identifier `NetBSD` is reserved and cannot be set
212 Error: version identifier `DragonFlyBSD` is reserved and cannot be set
213 Error: version identifier `BSD` is reserved and cannot be set
214 Error: version identifier `Solaris` is reserved and cannot be set
215 Error: version identifier `Posix` is reserved and cannot be set
216 Error: version identifier `AIX` is reserved and cannot be set
217 Error: version identifier `Haiku` is reserved and cannot be set
218 Error: version identifier `SkyOS` is reserved and cannot be set
219 Error: version identifier `SysV3` is reserved and cannot be set
220 Error: version identifier `SysV4` is reserved and cannot be set
221 Error: version identifier `Hurd` is reserved and cannot be set
222 Error: version identifier `Android` is reserved and cannot be set
223 Error: version identifier `Cygwin` is reserved and cannot be set
224 Error: version identifier `MinGW` is reserved and cannot be set
225 Error: version identifier `FreeStanding` is reserved and cannot be set
226 Error: version identifier `X86` is reserved and cannot be set
227 Error: version identifier `X86_64` is reserved and cannot be set
228 Error: version identifier `ARM` is reserved and cannot be set
229 Error: version identifier `ARM_Thumb` is reserved and cannot be set
230 Error: version identifier `ARM_SoftFloat` is reserved and cannot be set
231 Error: version identifier `ARM_SoftFP` is reserved and cannot be set
232 Error: version identifier `ARM_HardFloat` is reserved and cannot be set
233 Error: version identifier `AArch64` is reserved and cannot be set
234 Error: version identifier `Epiphany` is reserved and cannot be set
235 Error: version identifier `PPC` is reserved and cannot be set
236 Error: version identifier `PPC_SoftFloat` is reserved and cannot be set
237 Error: version identifier `PPC_HardFloat` is reserved and cannot be set
238 Error: version identifier `PPC64` is reserved and cannot be set
239 Error: version identifier `IA64` is reserved and cannot be set
240 Error: version identifier `MIPS32` is reserved and cannot be set
241 Error: version identifier `MIPS64` is reserved and cannot be set
242 Error: version identifier `MIPS_O32` is reserved and cannot be set
243 Error: version identifier `MIPS_N32` is reserved and cannot be set
244 Error: version identifier `MIPS_O64` is reserved and cannot be set
245 Error: version identifier `MIPS_N64` is reserved and cannot be set
246 Error: version identifier `MIPS_EABI` is reserved and cannot be set
247 Error: version identifier `MIPS_SoftFloat` is reserved and cannot be set
248 Error: version identifier `MIPS_HardFloat` is reserved and cannot be set
249 Error: version identifier `NVPTX` is reserved and cannot be set
250 Error: version identifier `NVPTX64` is reserved and cannot be set
251 Error: version identifier `RISCV32` is reserved and cannot be set
252 Error: version identifier `RISCV64` is reserved and cannot be set
253 Error: version identifier `SPARC` is reserved and cannot be set
254 Error: version identifier `SPARC_V8Plus` is reserved and cannot be set
255 Error: version identifier `SPARC_SoftFloat` is reserved and cannot be set
256 Error: version identifier `SPARC_HardFloat` is reserved and cannot be set
257 Error: version identifier `SPARC64` is reserved and cannot be set
258 Error: version identifier `S390` is reserved and cannot be set
259 Error: version identifier `S390X` is reserved and cannot be set
260 Error: version identifier `SystemZ` is reserved and cannot be set
261 Error: version identifier `HPPA` is reserved and cannot be set
262 Error: version identifier `HPPA64` is reserved and cannot be set
263 Error: version identifier `SH` is reserved and cannot be set
264 Error: version identifier `Alpha` is reserved and cannot be set
265 Error: version identifier `Alpha_SoftFloat` is reserved and cannot be set
266 Error: version identifier `Alpha_HardFloat` is reserved and cannot be set
267 Error: version identifier `LittleEndian` is reserved and cannot be set
268 Error: version identifier `BigEndian` is reserved and cannot be set
269 Error: version identifier `ELFv1` is reserved and cannot be set
270 Error: version identifier `ELFv2` is reserved and cannot be set
271 Error: version identifier `CRuntime_Bionic` is reserved and cannot be set
272 Error: version identifier `CRuntime_DigitalMars` is reserved and cannot be set
273 Error: version identifier `CRuntime_Glibc` is reserved and cannot be set
274 Error: version identifier `CRuntime_Microsoft` is reserved and cannot be set
275 Error: version identifier `CRuntime_Musl` is reserved and cannot be set
276 Error: version identifier `CRuntime_UClibc` is reserved and cannot be set
277 Error: version identifier `CppRuntime_Clang` is reserved and cannot be set
278 Error: version identifier `CppRuntime_DigitalMars` is reserved and cannot be set
279 Error: version identifier `CppRuntime_Gcc` is reserved and cannot be set
280 Error: version identifier `CppRuntime_Microsoft` is reserved and cannot be set
281 Error: version identifier `CppRuntime_Sun` is reserved and cannot be set
282 Error: version identifier `D_Coverage` is reserved and cannot be set
283 Error: version identifier `D_Ddoc` is reserved and cannot be set
284 Error: version identifier `D_InlineAsm_X86` is reserved and cannot be set
285 Error: version identifier `D_InlineAsm_X86_64` is reserved and cannot be set
286 Error: version identifier `D_LP64` is reserved and cannot be set
287 Error: version identifier `D_X32` is reserved and cannot be set
288 Error: version identifier `D_HardFloat` is reserved and cannot be set
289 Error: version identifier `D_SoftFloat` is reserved and cannot be set
290 Error: version identifier `D_PIC` is reserved and cannot be set
291 Error: version identifier `D_SIMD` is reserved and cannot be set
292 Error: version identifier `D_Version2` is reserved and cannot be set
293 Error: version identifier `D_NoBoundsChecks` is reserved and cannot be set
294 Error: version identifier `unittest` is reserved and cannot be set
295 Error: version identifier `assert` is reserved and cannot be set
296 Error: version identifier `all` is reserved and cannot be set
297 Error: version identifier `none` is reserved and cannot be set
298 ---
299 */
300