cast-pretty-print-1.c
来自「用于进行gcc测试」· C语言 代码 · 共 13 行
C
13 行
/* Test pretty-printing of casts. Should not depend on whether NOP_EXPR or CONVERT_EXPR is used. *//* Origin: Joseph Myers <joseph@codesourcery.com> *//* { dg-do compile } *//* { dg-options "" } */int i;voidf (void){ ((unsigned int)i)(); /* { dg-error "called object '\\(unsigned int\\)i' is not a function" } */ ((char)i)(); /* { dg-error "called object '\\(char\\)i' is not a function" } */}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?