ambig2.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 12 行
C
12 行
// Testcase for ambiguity between cast and parmlist.// This ambiguity accounts for 1 of the r/r conflicts.// Do not compile with -pedantic so that the compiler will accept taking// the sizeof a function type.// Special g++ Options: -Wno-pointer-arith// Build don't link:void f(){ (void)sizeof(int((int)1.2)); (void)sizeof(int((int))); // gets bogus error - }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?