brintos

brintos / llvm-project-archived public Read only

0
0
Text · 707 B · 8ded0f9 Raw
34 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8 9// test <stdarg.h>10 11#include <stdarg.h>12 13#include "test_macros.h"14 15#ifndef va_arg16#error va_arg not defined17#endif18 19#if TEST_STD_VER >= 1120#  ifndef va_copy21#    error va_copy is not defined when c++ >= 1122#  endif23#endif24 25#ifndef va_end26#error va_end not defined27#endif28 29#ifndef va_start30#error va_start not defined31#endif32 33va_list va;34