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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
598 B
C++
Raw Normal View History

2010-09-28 17:19:10 +00:00
//===----------------------------------------------------------------------===//
2010-05-11 19:42:16 +00:00
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2010-05-11 19:42:16 +00: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