0033-character.c (761B)
1 /* 2 PATTERN: 3 0033-character.c:23: error: empty character constant 4 0033-character.c:24: warning: multi-character character constant 5 0033-character.c:25: error: empty character constant 6 0033-character.c:26: warning: multi-character character constant 7 0033-character.c:27: warning: multi-character character constant 8 0033-character.c:28: error: invalid multibyte sequence 9 0033-character.c:28: warning: multi-character character constant 10 0033-character.c:29: error: invalid multibyte sequence 11 0033-character.c:29: error: invalid multibyte sequence 12 0033-character.c:29: warning: multi-character character constant 13 . 14 */ 15 #include <wchar.h> 16 17 int 18 main() 19 { 20 int i; 21 wchar_t w; 22 23 i = ''; 24 i = 'ab'; 25 w = L''; 26 w = L'ab'; 27 w = L'áá'; 28 w = L'€ '; 29 w = L'€À'; 30 31 return 0; 32 }