attrib14.c

来自「Mac OS X 10.4.9 for x86 Source Code gcc」· C语言 代码 · 共 14 行

C
14
字号
// PR c++/13170// The bogus attribute is ignored, but was in TYPE_ATTRIBUTES during// parsing of the class, causing some variants to have it and some not.struct __attribute__((bogus)) A{    virtual ~A();    void foo(const A&);    void bar(const A&);};				// { dg-warning "ignored" "" }void A::foo(const A&)   {}void A::bar(const A& a) { foo(a); }

⌨️ 快捷键说明

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