1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 3 // 4 // The LLVM Compiler Infrastructure 5 // 6 // This file is dual licensed under the MIT and the University of Illinois Open 7 // Source Licenses. See LICENSE.TXT for details. 8 // 9 //===----------------------------------------------------------------------===// 10 11 // test <errno.h> 12 13 #include <errno.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()31int main() 32 { 33 } 34