llvm-project/libcxx/test/std/depr/depr.c.headers/errno_h.pass.cpp

34 lines
616 B
C++
Raw Normal View History

2010-05-12 03:42:16 +08:00
// -*- C++ -*-
2010-09-29 01:19:10 +08:00
//===----------------------------------------------------------------------===//
2010-05-12 03:42:16 +08:00
//
// The LLVM Compiler Infrastructure
2010-05-12 03:42:16 +08:00
//
2010-11-17 06:09:02 +08:00
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
2010-05-12 03:42:16 +08:00
//
//===----------------------------------------------------------------------===//
// test <errno.h>
#include <errno.h>
#ifndef EDOM
#error EDOM not defined
#endif
#ifndef EILSEQ
#error EILSEQ not defined
#endif
#ifndef ERANGE
#error ERANGE not defined
#endif
#ifndef errno
#error errno not defined
#endif
int main()
{
}