You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/depr/depr.c.headers/errno_h.pass.cpp

34 lines
616 B
C++

// -*- 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 <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()
{
}