[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / libcxx / test / std / depr / depr.c.headers / errno_h.pass.cpp
blob30f8ac05107b377c2a7cf3bde88438e659bef0ca
1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
10 // test <errno.h>
12 #include <errno.h>
14 #include "test_macros.h"
16 #ifndef EDOM
17 #error EDOM not defined
18 #endif
20 #ifndef EILSEQ
21 #error EILSEQ not defined
22 #endif
24 #ifndef ERANGE
25 #error ERANGE not defined
26 #endif
28 #ifndef errno
29 #error errno not defined
30 #endif
32 int main(int, char**)
35 return 0;