Files
UnrealEngineUWP/Engine/Source/ThirdParty/MCPP/mcpp-2.7.2/test-t/m_33_ksc.t
T
UnrealBot f645340e6e Code snapshot for CL 2114451
[CL 2114451 in Main branch]
2014-06-23 17:33:51 -04:00

23 lines
599 B
Raku

/* m_33_ksc.t: Wide character constant encoded in KSC-5601. */
#include <limits.h>
#define BYTES_VAL (1 << CHAR_BIT)
/* 33.1: L'ch'. */
#pragma __setlocale( "ksc5601") /* For MCPP */
#pragma setlocale( "korean") /* For Visual C */
#if L'í®' == '\xed' * BYTES_VAL + '\xae'
Wide character is encoded in KSC-5601.
#elif L'í®' == '\xae' * BYTES_VAL + '\xed'
Wide character is encoded in KSC-5601.
Inverted order of evaluation.
#else
I cannot understand KSC-5601.
#endif
#if L'í®' < 0
Evaluated in negative value.
#endif