代码搜索结果

找到约 4,295 项符合 G 的代码

900519_07.c

// g++ 1.37.1 bug 900519_07 // It is illegal to specify or to use array-of-reference types, yet g++ // allows them to be specified (in typedef statements and in declarations) // and to be used (in de

900205_03.c

// g++ 1.36.1 bug 900205_03 // Section 6.6.3 of the cfront 2.0 Reference Manual says "A return statement // without an expression can be used only in functions that do not return // a value, that is,

900402_02.c

// g++ 1.37.1 bug 900402_02 // g++ fails to correctly flag all attempts to construct an array type // of zero length as errors. // keywords: arrays, array bound, zero length typedef int array_type[

900210_10.c

// g++ 1.36.1 bug 900210_10 // g++ allows operator[] to be declared as a static member function. // This is illegal. // Cfront 2.0 passes this test. // keywords: operator[], static function members

900405_01.c

// g++ 1.37.1 bug 900405_01 // The C++ Reference Manual says (in section 5.4) "Types may not be defined // in casts." // g++ fails to flag errors for cases where an attempt is made to define // a st

900407_01.c

// g++ 1.37.1 bug 900407_01 // g++ fails to flag errors for uses of anachronistic features such as the // invocation of a base class constructor in a ctor-initializer list without // explicitly givin

900519_02.c

// g++ 1.37.1 bug 900519_02 // The C++ Reference Manual says (in section 8.4.3) "A reference to a plain // T can only be initialized with a plain T" however g++ allows the // initialization of plain

900404_01.c

// g++ 1.37.1 bug 900404_01 // g++ allows string initializers for known-length character arrays to be // one character longer (counting the terminating null) than the actual // length of the array to

900520_03.c

// g++ 1.37.1 bug 900520_03 // The C++ Reference Manual says (in section 8.2.4): // When an identifier of array type appears in an expression, except // as the operand of sizeof or & or used to init

900121_05.c

// g++ 1.36.1 bug 900121_05 // g++ allows unions to have base types (i.e. to be "derived") and it allows // other types to have unions as base types. Both cases are illegal. // g++ curently does no