1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 | // -*- C++ -*- //===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // test <cerrno> #include <cerrno> #ifndef _LIBCPP_VERSION #error _LIBCPP_VERSION not defined #endif #ifndef E2BIG #error E2BIG not defined #endif #ifndef EACCES #error EACCES not defined #endif #ifndef EACCES #error EACCES not defined #endif #ifndef EADDRINUSE #error EADDRINUSE not defined #endif #ifndef EADDRNOTAVAIL #error EADDRNOTAVAIL not defined #endif #ifndef EAFNOSUPPORT #error EAFNOSUPPORT not defined #endif #ifndef EAGAIN #error EAGAIN not defined #endif #ifndef EALREADY #error EALREADY not defined #endif #ifndef EBADF #error EBADF not defined #endif #ifndef EBADMSG #error EBADMSG not defined #endif #ifndef EBUSY #error EBUSY not defined #endif #ifndef ECANCELED #error ECANCELED not defined #endif #ifndef ECHILD #error ECHILD not defined #endif #ifndef ECONNABORTED #error ECONNABORTED not defined #endif #ifndef ECONNREFUSED #error ECONNREFUSED not defined #endif #ifndef ECONNRESET #error ECONNRESET not defined #endif #ifndef EDEADLK #error EDEADLK not defined #endif #ifndef EDESTADDRREQ #error EDESTADDRREQ not defined #endif #ifndef EDOM #error EDOM not defined #endif #ifndef EEXIST #error EEXIST not defined #endif #ifndef EFAULT #error EFAULT not defined #endif #ifndef EFBIG #error EFBIG not defined #endif #ifndef EHOSTUNREACH #error EHOSTUNREACH not defined #endif #ifndef EIDRM #error EIDRM not defined #endif #ifndef EILSEQ #error EILSEQ not defined #endif #ifndef EINPROGRESS #error EINPROGRESS not defined #endif #ifndef EINTR #error EINTR not defined #endif #ifndef EINVAL #error EINVAL not defined #endif #ifndef EIO #error EIO not defined #endif #ifndef EISCONN #error EISCONN not defined #endif #ifndef EISDIR #error EISDIR not defined #endif #ifndef ELOOP #error ELOOP not defined #endif #ifndef EMFILE #error EMFILE not defined #endif #ifndef EMLINK #error EMLINK not defined #endif #ifndef EMSGSIZE #error EMSGSIZE not defined #endif #ifndef ENAMETOOLONG #error ENAMETOOLONG not defined #endif #ifndef ENETDOWN #error ENETDOWN not defined #endif #ifndef ENETRESET #error ENETRESET not defined #endif #ifndef ENETUNREACH #error ENETUNREACH not defined #endif #ifndef ENFILE #error ENFILE not defined #endif #ifndef ENOBUFS #error ENOBUFS not defined #endif #if (defined(_XOPEN_STREAMS) && _XOPEN_STREAMS != -1) #ifndef ENODATA #error ENODATA not defined #endif #endif #ifndef ENODEV #error ENODEV not defined #endif #ifndef ENOENT #error ENOENT not defined #endif #ifndef ENOEXEC #error ENOEXEC not defined #endif #ifndef ENOLCK #error ENOLCK not defined #endif #ifndef ENOLINK #error ENOLINK not defined #endif #ifndef ENOMEM #error ENOMEM not defined #endif #ifndef ENOMSG #error ENOMSG not defined #endif #ifndef ENOPROTOOPT #error ENOPROTOOPT not defined #endif #ifndef ENOSPC #error ENOSPC not defined #endif #if (defined(_XOPEN_STREAMS) && _XOPEN_STREAMS != -1) #ifndef ENOSR #error ENOSR not defined #endif #endif #if (defined(_XOPEN_STREAMS) && _XOPEN_STREAMS != -1) #ifndef ENOSTR #error ENOSTR not defined #endif #endif #ifndef ENOSYS #error ENOSYS not defined #endif #ifndef ENOTCONN #error ENOTCONN not defined #endif #ifndef ENOTDIR #error ENOTDIR not defined #endif #ifndef ENOTEMPTY #error ENOTEMPTY not defined #endif #ifndef ENOTRECOVERABLE #error ENOTRECOVERABLE not defined #endif #ifndef ENOTSOCK #error ENOTSOCK not defined #endif #ifndef ENOTSUP #error ENOTSUP not defined #endif #ifndef ENOTTY #error ENOTTY not defined #endif #ifndef ENXIO #error ENXIO not defined #endif #ifndef EOPNOTSUPP #error EOPNOTSUPP not defined #endif #ifndef EOVERFLOW #error EOVERFLOW not defined #endif #ifndef EOWNERDEAD #error EOWNERDEAD not defined #endif #ifndef EPERM #error EPERM not defined #endif #ifndef EPIPE #error EPIPE not defined #endif #ifndef EPROTO #error EPROTO not defined #endif #ifndef EPROTONOSUPPORT #error EPROTONOSUPPORT not defined #endif #ifndef EPROTOTYPE #error EPROTOTYPE not defined #endif #ifndef ERANGE #error ERANGE not defined #endif #ifndef EROFS #error EROFS not defined #endif #ifndef ESPIPE #error ESPIPE not defined #endif #ifndef ESRCH #error ESRCH not defined #endif #if (defined(_XOPEN_STREAMS) && _XOPEN_STREAMS != -1) #ifndef ETIME #error ETIME not defined #endif #endif #ifndef ETIMEDOUT #error ETIMEDOUT not defined #endif #ifndef ETXTBSY #error ETXTBSY not defined #endif #ifndef EWOULDBLOCK #error EWOULDBLOCK not defined #endif #ifndef EXDEV #error EXDEV not defined #endif #ifndef errno #error errno not defined #endif int main() { } |