1 // RUN: %clang_cc1 -fsyntax-only -verify -Wsystem-headers -std=c99 %s
2 // expected-no-diagnostics
3 
4 // Check that no warnings are emitted from stdarg.h if __gnuc_va_list has
5 // previously been defined in another header file.
6 typedef __builtin_va_list __va_list;
7 typedef __va_list __gnuc_va_list;
8 #define __GNUC_VA_LIST
9 
10 #include <stdarg.h>
11