11f5207bJohn Levonstatic int (auto); 21f5207bJohn Levonstatic int (break); 31f5207bJohn Levonstatic int (case); 41f5207bJohn Levonstatic int (char); 51f5207bJohn Levonstatic int (const); 61f5207bJohn Levonstatic int (__const); 71f5207bJohn Levonstatic int (__const__); 81f5207bJohn Levonstatic int (continue); 91f5207bJohn Levonstatic int (default); 101f5207bJohn Levonstatic int (do); 111f5207bJohn Levonstatic int (double); 121f5207bJohn Levonstatic int (else); 131f5207bJohn Levonstatic int (enum); 141f5207bJohn Levonstatic int (extern); 151f5207bJohn Levonstatic int (float); 161f5207bJohn Levonstatic int (for); 171f5207bJohn Levonstatic int (goto); 181f5207bJohn Levonstatic int (if); 191f5207bJohn Levonstatic int (inline); 201f5207bJohn Levonstatic int (__inline); 211f5207bJohn Levonstatic int (__inline__); 221f5207bJohn Levonstatic int (int); 231f5207bJohn Levonstatic int (long); 241f5207bJohn Levonstatic int (register); 251f5207bJohn Levonstatic int (restrict); 261f5207bJohn Levonstatic int (__restrict); 271f5207bJohn Levonstatic int (__restrict__); 281f5207bJohn Levonstatic int (return); 291f5207bJohn Levonstatic int (short); 301f5207bJohn Levonstatic int (signed); 311f5207bJohn Levonstatic int (sizeof); 321f5207bJohn Levonstatic int (static); 331f5207bJohn Levonstatic int (struct); 341f5207bJohn Levonstatic int (switch); 351f5207bJohn Levonstatic int (typedef); 361f5207bJohn Levonstatic int (union); 371f5207bJohn Levonstatic int (unsigned); 381f5207bJohn Levonstatic int (void); 391f5207bJohn Levonstatic int (volatile); 401f5207bJohn Levonstatic int (volatile); 411f5207bJohn Levonstatic int (__volatile); 421f5207bJohn Levonstatic int (__volatile__); 431f5207bJohn Levonstatic int (while); 441f5207bJohn Levon 451f5207bJohn Levonstatic int (_Alignas); 461f5207bJohn Levonstatic int (_Alignof); 471f5207bJohn Levonstatic int (_Atomic); 481f5207bJohn Levonstatic int (_Bool); 491f5207bJohn Levonstatic int (_Complex); 501f5207bJohn Levonstatic int (_Generic); 511f5207bJohn Levonstatic int (_Imaginary); 521f5207bJohn Levonstatic int (_Noreturn); 531f5207bJohn Levonstatic int (_Static_assert); 541f5207bJohn Levonstatic int (_Thread_local); 551f5207bJohn Levon 561f5207bJohn Levon// Sparse extensions 571f5207bJohn Levonstatic int (__context__); 581f5207bJohn Levonstatic int (__range__); 591f5207bJohn Levonstatic int (__sizeof_ptr__); 601f5207bJohn Levon 611f5207bJohn Levon// GCC extensions 621f5207bJohn Levonstatic int (__alignof); 631f5207bJohn Levonstatic int (__alignof__); 641f5207bJohn Levonstatic int (asm); // not reserved! 651f5207bJohn Levonstatic int (__asm); 661f5207bJohn Levonstatic int (__asm__); 671f5207bJohn Levonstatic int (__label__); 681f5207bJohn Levonstatic int (__thread); 691f5207bJohn Levonstatic int (typeof); 701f5207bJohn Levonstatic int (__typeof); 711f5207bJohn Levonstatic int (__typeof__); 721f5207bJohn Levon 731f5207bJohn Levonstatic int (__int128); 741f5207bJohn Levonstatic int (__int128_t); 751f5207bJohn Levonstatic int (__uint128_t); 761f5207bJohn Levon 771f5207bJohn Levonstatic int (__builtin_ms_va_list); 781f5207bJohn Levonstatic int (__builtin_offsetof); 791f5207bJohn Levonstatic int (__builtin_types_compatible_p); 801f5207bJohn Levonstatic int (__builtin_va_list); 811f5207bJohn Levon 821f5207bJohn Levon/* 831f5207bJohn Levon * check-name: const et.al. are reserved identifiers 84c85f09cJohn Levon * check-error-start 851f5207bJohn Levonreserved.c:1:12: error: Trying to use reserved word 'auto' as identifier 861f5207bJohn Levonreserved.c:2:12: error: Trying to use reserved word 'break' as identifier 871f5207bJohn Levonreserved.c:3:12: error: Trying to use reserved word 'case' as identifier 881f5207bJohn Levonreserved.c:4:12: error: Trying to use reserved word 'char' as identifier 891f5207bJohn Levonreserved.c:5:12: error: Trying to use reserved word 'const' as identifier 901f5207bJohn Levonreserved.c:6:12: error: Trying to use reserved word '__const' as identifier 911f5207bJohn Levonreserved.c:7:12: error: Trying to use reserved word '__const__' as identifier 921f5207bJohn Levonreserved.c:8:12: error: Trying to use reserved word 'continue' as identifier 931f5207bJohn Levonreserved.c:9:12: error: Trying to use reserved word 'default' as identifier 941f5207bJohn Levonreserved.c:10:12: error: Trying to use reserved word 'do' as identifier 951f5207bJohn Levonreserved.c:11:12: error: Trying to use reserved word 'double' as identifier 961f5207bJohn Levonreserved.c:12:12: error: Trying to use reserved word 'else' as identifier 971f5207bJohn Levonreserved.c:13:12: error: Trying to use reserved word 'enum' as identifier 981f5207bJohn Levonreserved.c:14:12: error: Trying to use reserved word 'extern' as identifier 991f5207bJohn Levonreserved.c:15:12: error: Trying to use reserved word 'float' as identifier 1001f5207bJohn Levonreserved.c:16:12: error: Trying to use reserved word 'for' as identifier 1011f5207bJohn Levonreserved.c:17:12: error: Trying to use reserved word 'goto' as identifier 1021f5207bJohn Levonreserved.c:18:12: error: Trying to use reserved word 'if' as identifier 1031f5207bJohn Levonreserved.c:19:12: error: Trying to use reserved word 'inline' as identifier 1041f5207bJohn Levonreserved.c:20:12: error: Trying to use reserved word '__inline' as identifier 1051f5207bJohn Levonreserved.c:21:12: error: Trying to use reserved word '__inline__' as identifier 1061f5207bJohn Levonreserved.c:22:12: error: Trying to use reserved word 'int' as identifier 1071f5207bJohn Levonreserved.c:23:12: error: Trying to use reserved word 'long' as identifier 1081f5207bJohn Levonreserved.c:24:12: error: Trying to use reserved word 'register' as identifier 1091f5207bJohn Levonreserved.c:25:12: error: Trying to use reserved word 'restrict' as identifier 1101f5207bJohn Levonreserved.c:26:12: error: Trying to use reserved word '__restrict' as identifier 1111f5207bJohn Levonreserved.c:27:12: error: Trying to use reserved word '__restrict__' as identifier 1121f5207bJohn Levonreserved.c:28:12: error: Trying to use reserved word 'return' as identifier 1131f5207bJohn Levonreserved.c:29:12: error: Trying to use reserved word 'short' as identifier 1141f5207bJohn Levonreserved.c:30:12: error: Trying to use reserved word 'signed' as identifier 1151f5207bJohn Levonreserved.c:31:12: error: Trying to use reserved word 'sizeof' as identifier 1161f5207bJohn Levonreserved.c:32:12: error: Trying to use reserved word 'static' as identifier 1171f5207bJohn Levonreserved.c:33:12: error: Trying to use reserved word 'struct' as identifier 1181f5207bJohn Levonreserved.c:34:12: error: Trying to use reserved word 'switch' as identifier 1191f5207bJohn Levonreserved.c:35:12: error: Trying to use reserved word 'typedef' as identifier 1201f5207bJohn Levonreserved.c:36:12: error: Trying to use reserved word 'union' as identifier 1211f5207bJohn Levonreserved.c:37:12: error: Trying to use reserved word 'unsigned' as identifier 1221f5207bJohn Levonreserved.c:38:12: error: Trying to use reserved word 'void' as identifier 1231f5207bJohn Levonreserved.c:39:12: error: Trying to use reserved word 'volatile' as identifier 1241f5207bJohn Levonreserved.c:40:12: error: Trying to use reserved word 'volatile' as identifier 1251f5207bJohn Levonreserved.c:41:12: error: Trying to use reserved word '__volatile' as identifier 1261f5207bJohn Levonreserved.c:42:12: error: Trying to use reserved word '__volatile__' as identifier 1271f5207bJohn Levonreserved.c:43:12: error: Trying to use reserved word 'while' as identifier 1281f5207bJohn Levonreserved.c:45:12: error: Trying to use reserved word '_Alignas' as identifier 1291f5207bJohn Levonreserved.c:46:12: error: Trying to use reserved word '_Alignof' as identifier 1301f5207bJohn Levonreserved.c:47:12: error: Trying to use reserved word '_Atomic' as identifier 1311f5207bJohn Levonreserved.c:48:12: error: Trying to use reserved word '_Bool' as identifier 1321f5207bJohn Levonreserved.c:49:12: error: Trying to use reserved word '_Complex' as identifier 1331f5207bJohn Levonreserved.c:50:12: error: Trying to use reserved word '_Generic' as identifier 1341f5207bJohn Levonreserved.c:51:12: error: Trying to use reserved word '_Imaginary' as identifier 1351f5207bJohn Levonreserved.c:52:12: error: Trying to use reserved word '_Noreturn' as identifier 1361f5207bJohn Levonreserved.c:53:12: error: Trying to use reserved word '_Static_assert' as identifier 1371f5207bJohn Levonreserved.c:54:12: error: Trying to use reserved word '_Thread_local' as identifier 1381f5207bJohn Levonreserved.c:57:12: error: Trying to use reserved word '__context__' as identifier 1391f5207bJohn Levonreserved.c:58:12: error: Trying to use reserved word '__range__' as identifier 1401f5207bJohn Levonreserved.c:59:12: error: Trying to use reserved word '__sizeof_ptr__' as identifier 1411f5207bJohn Levonreserved.c:62:12: error: Trying to use reserved word '__alignof' as identifier 1421f5207bJohn Levonreserved.c:63:12: error: Trying to use reserved word '__alignof__' as identifier 1431f5207bJohn Levonreserved.c:65:12: error: Trying to use reserved word '__asm' as identifier 1441f5207bJohn Levonreserved.c:66:12: error: Trying to use reserved word '__asm__' as identifier 1451f5207bJohn Levonreserved.c:67:12: error: Trying to use reserved word '__label__' as identifier 1461f5207bJohn Levonreserved.c:68:12: error: Trying to use reserved word '__thread' as identifier 1471f5207bJohn Levonreserved.c:69:12: error: Trying to use reserved word 'typeof' as identifier 1481f5207bJohn Levonreserved.c:70:12: error: Trying to use reserved word '__typeof' as identifier 1491f5207bJohn Levonreserved.c:71:12: error: Trying to use reserved word '__typeof__' as identifier 1501f5207bJohn Levonreserved.c:73:12: error: Trying to use reserved word '__int128' as identifier 1511f5207bJohn Levonreserved.c:74:12: error: Trying to use reserved word '__int128_t' as identifier 1521f5207bJohn Levonreserved.c:75:12: error: Trying to use reserved word '__uint128_t' as identifier 1531f5207bJohn Levonreserved.c:77:12: error: Trying to use reserved word '__builtin_ms_va_list' as identifier 1541f5207bJohn Levonreserved.c:78:12: error: Trying to use reserved word '__builtin_offsetof' as identifier 1551f5207bJohn Levonreserved.c:79:12: error: Trying to use reserved word '__builtin_types_compatible_p' as identifier 1561f5207bJohn Levonreserved.c:80:12: error: Trying to use reserved word '__builtin_va_list' as identifier 157c85f09cJohn Levon * check-error-end 1581f5207bJohn Levon */ 159