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