blob: 68c2283260e132708d32cd4febd2ac6023191072 [file] [log] [blame]
// Test to verify that _SBCS being defined causes CharacterSet to be set to 0
// (Single Byte Character Set)
int main()
#ifdef _UNICODE
bool UnicodeSet = true;
bool UnicodeSet = false;
#ifdef _MBCS
bool MBCSSet = true;
bool MBCSSet = false;
// if neither _UNICODE nor _MBCS is set, CharacterSet must be set to SBCS.
bool SBCSSet = (!UnicodeSet && !MBCSSet);
// Reverse boolean to indicate error case correctly
return !SBCSSet;