Home | History | Annotate | Download | only in depr.c.headers
      1 //===----------------------------------------------------------------------===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is dual licensed under the MIT and the University of Illinois Open
      6 // Source Licenses. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 
     10 // test <stdarg.h>
     11 
     12 #include <stdarg.h>
     13 
     14 #ifndef va_arg
     15 #error va_arg not defined
     16 #endif
     17 
     18 #ifndef va_copy
     19 #error va_copy not defined
     20 #endif
     21 
     22 #ifndef va_end
     23 #error va_end not defined
     24 #endif
     25 
     26 #ifndef va_start
     27 #error va_start not defined
     28 #endif
     29 
     30 int main()
     31 {
     32     va_list va;
     33 }
     34