enum8.c
来自「gcc-you can use this code to learn somet」· C语言 代码 · 共 21 行
C
21 行
// Bug: the switch fails on the Alpha because folding ef - 1 fails.enum foo { one=1, thirty=30 };int f (enum foo ef){ switch (ef) { case one: case thirty: return 0; default: return 1; }}int main (){ return f (one);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?