struct.c
来自「Small Device C Compiler 面向Inter8051」· C语言 代码 · 共 77 行
C
77 行
#ifdef TEST1struct tag { int good1; register int bad; /* ERROR */ int good2;} badstruct; /* IGNORE */#endif#ifdef TEST2struct tag { int good1; int bad; int bad; /* ERROR */ int good2;} badstruct;#endif#ifdef TEST3struct tag { int good1; int bad:255; /* ERROR */ int good2;} badstruct;#endif#ifdef TEST4struct tag { int good1; int good2;} goodstruct1;struct tag goodstruct2;#endif#ifdef TEST5astruct tag { int good1; int good2;} goodstruct1;union tag badunion; /* ERROR */#endif#ifdef TEST5bunion tag { int good1; int good2;} goodunion1;struct tag badstruct; /* ERROR */#endif#ifdef TEST6struct linklist { struct linklist *prev; struct linklist *next; int x;} ll;#endif#ifdef TEST7aunion tag { struct tag *next; /* ERROR */ int x;} ll;#endif#ifdef TEST7bstruct tag { union tag *next; /* ERROR */ int x;} ll;#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?