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 #include "test_macros.h"
14 
15 #ifndef EDOM
16 #error EDOM not defined
17 #endif
18 
19 #ifndef EILSEQ
20 #error EILSEQ not defined
21 #endif
22 
23 #ifndef ERANGE
24 #error ERANGE not defined
25 #endif
26 
27 #ifndef errno
28 #error errno not defined
29 #endif
30 
main(int,char **)31 int main(int, char**)
32 {
33 
34   return 0;
35 }
36