📄 switch-6.c
字号:
/* Test diagnostics for switch statements and labels therein. Test for case ranges with -pedantic. *//* Origin: Joseph Myers <joseph@codesourcery.com> *//* { dg-do compile } *//* { dg-options "-pedantic" } */voidf (int a){ switch (a) { case 0 ... 0: ; /* { dg-warning "warning: range expressions in switch statements are non-standard" } */ }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -