This source file includes following definitions.
- main
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 #include <config.h>
18
19 #include "unictype.h"
20
21 #include <string.h>
22
23 #include "macros.h"
24
25 int
26 main ()
27 {
28 ASSERT (uc_c_ident_category ('0') == UC_IDENTIFIER_VALID);
29 ASSERT (uc_c_ident_category ('X') == UC_IDENTIFIER_START);
30 ASSERT (uc_c_ident_category ('+') == UC_IDENTIFIER_INVALID);
31 ASSERT (uc_c_ident_category (0x00B2) == UC_IDENTIFIER_INVALID);
32 ASSERT (uc_c_ident_category (0x05DA) == UC_IDENTIFIER_START);
33
34 ASSERT (uc_c_ident_category (0x001B) == UC_IDENTIFIER_INVALID);
35 ASSERT (uc_c_ident_category (0xE0001) == UC_IDENTIFIER_INVALID);
36
37 return 0;
38 }