⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pr17844-1.c

📁 linux下编程用 编译软件
💻 C
字号:
/* -fshort-enums should affect only the type with which an enum is    compatible, not the type of the enumeration constants which should    still be int.  Bug 17844.  *//* Origin: Joseph Myers <jsm@polyomino.org.uk> *//* { dg-do compile } *//* { dg-options "-fshort-enums" } */enum e { A, B };enum e ev;unsigned char uv;enum e *ep = &uv;unsigned char *up = &ev;int i;__typeof__(A) te;int *ip = &te;__typeof__(B) *tep = &i;int x[((sizeof(A) == sizeof(int)) ? 1 : -1)];

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -