scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

0267-wchar.c (171B)


      1 #include <wchar.h>
      2 
      3 int
      4 main()
      5 {
      6 	wchar_t ws[] = L"aáb";
      7 
      8 	if (ws[0] != 'a')
      9 		return 1;
     10 	if (ws[1] != L'\u00e1')
     11 		return 2;
     12 	if (ws[2] != 'b')
     13 		return 3;
     14 	return 0;
     15 }