noeffect2.c
来自「xml大全 可读写调用率很高 xml大全 可读写调用率很高」· C语言 代码 · 共 19 行
C
19 行
// { dg-do compile }// { dg-options "-Wall" }// Copyright (C) 2003 Free Software Foundation, Inc.// Contributed by Nathan Sidwell 18 Aug 2003 <nathan@codesourcery.com>// Origin PR 11945 gerald@pfeifer.com// PR 11945 inconsistent warningsextern "C" void FormatDisk(); template <class T> struct C { C(){ FormatDisk(), 0; } // { dg-warning "right-hand operand of comma" "" } }; template <class T> void f() { FormatDisk(), 0; } // { dg-warning "right-hand operand of comma" "" }void g() { FormatDisk(), 0; } // { dg-warning "right-hand operand of comma" "" }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?