prepost1.c

来自「linux下编程用 编译软件」· C语言 代码 · 共 16 行

C
16
字号
// { dg-do assemble  }// GROUPS passed prefix-postfixclass foo {public:      operator ++ (); // { dg-error "" } no type or storage class};int main(){  foo x;  // This should fall back to calling operator++(), and be an error with  // the -pedantic flag.  x++;// { dg-error "" } }

⌨️ 快捷键说明

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