• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 <cstdarg>
11 
12 #include <cstdarg>
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 
main()30 int main()
31 {
32     std::va_list va;
33 }
34