[RISCV] Add RVVConstraint to SiFive custom matrix multiply instructions. (#124055)
[llvm-project.git] / libcxx / test / std / depr / depr.c.headers / stdarg_h.compile.pass.cpp
blob8ded0f9f987d48c753b9a0a89541e60e198b86e1
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // test <stdarg.h>
11 #include <stdarg.h>
13 #include "test_macros.h"
15 #ifndef va_arg
16 #error va_arg not defined
17 #endif
19 #if TEST_STD_VER >= 11
20 # ifndef va_copy
21 # error va_copy is not defined when c++ >= 11
22 # endif
23 #endif
25 #ifndef va_end
26 #error va_end not defined
27 #endif
29 #ifndef va_start
30 #error va_start not defined
31 #endif
33 va_list va;