| 1 | //===----------------------------------------------------------------------===// |
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | // test <errno.h> |
| 10 | |
| 11 | #include <errno.h> |
| 12 | |
| 13 | #ifndef EDOM |
| 14 | #error EDOM not defined |
| 15 | #endif |
| 16 | |
| 17 | #ifndef EILSEQ |
| 18 | #error EILSEQ not defined |
| 19 | #endif |
| 20 | |
| 21 | #ifndef ERANGE |
| 22 | #error ERANGE not defined |
| 23 | #endif |
| 24 | |
| 25 | #ifndef errno |
| 26 | #error errno not defined |
| 27 | #endif |
| 28 | |