代码搜索结果

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

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

900205_04.c

// g++ 1.36.1 bug 900205_04 // g++ allows a class for which an implicit default X::X() constructor must // be created (implicitly by the compiler) to be derived from another class // which does not h

900107_01.c

// g++ 1.36.1 bug 900107_01 // Unlike GCC and Cfront 2.0, the g++ 1.36.1 compiler gives struct, union, // and class declarations which are nested within blocks file scope. // Cfront 2.0 passes this