Alessandro Bonazzi e075990ed3 Patch level : 12.0 no-patch
Files correlati     :
Commento            :

Aggiunto il preprocessore c++ mcpp per sostituire il compilatore nella compilazione delle maschere.
2020-11-28 16:24:08 +01:00

27 lines
561 B
C

/* m_34_big5.t: Multi-byte character constant encoded in Big-Five. */
#include "defs.h"
main( void)
{
char * ptr;
fputs( "started\n", stderr);
/* 34.1: */
#pragma __setlocale( "big5") /* For MCPP */
#pragma setlocale( "chinese-traditional") /* For Visual C */
#if '¦r' == '\xa6\x72'
ptr = "Multi-byte character is encoded in Big-Five.";
#else
ptr = "I cannot understand Big-Five.";
#endif
assert( strcmp( ptr, "I cannot understand Big-Five.") != 0);
fputs( "success\n", stderr);
return 0;
}