[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Headers / ms-wchar.c
blobfee7e72bd42ca962da6be7e502f744362392c0ea
1 // RUN: %clang_cc1 -fsyntax-only -triple i386-pc-win32 -fms-compatibility %s
3 #if defined(_WCHAR_T_DEFINED)
4 #error "_WCHAR_T_DEFINED should not be defined in C99"
5 #endif
7 #include <stddef.h>
9 #if !defined(_WCHAR_T_DEFINED)
10 #error "_WCHAR_T_DEFINED should have been set by stddef.h"
11 #endif
13 #if defined(_NATIVE_WCHAR_T_DEFINED)
14 #error "_NATIVE_WCHAR_T_DEFINED should not be defined"
15 #endif