代码搜索结果

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

900321_02.c

// g++ 1.37.1 bug 900321_02 // The following program exits with a nonzero status because the constructor // is not called 3 times as it should be. This program exits with a zero // status when compi

900215_01.c

// g++ 1.36.1 bug 900215_01 // g++ allows the definition of a type conversion operator `operator void' // for class types, but subsequently fails to generate calls (where needed) // for such type con

900404_07.c

// g++ 1.37.1 bug 900404_07 // It is illegal to use a cast to attempt to convert an object type // to a non-scalar type (e.g. an array type). // g++ fails to properly flag as errors such illegal use

900428_02.c

// g++ 1.37.1 bug 900428_02 // g++ fails to issue either errors or warnings (even with -pedantic) for // attempts to perform either pre or post increment or decrement operations // on variables which

900211_01.c

// g++ 1.36.1 bug 900211_01 // g++ issues only warnings for calls to previously undeclared functions, // however such calls are actually errors. // Cfront 2.0 passes this test. // keywords: undecla

900324_05.c

// g++ 1.37.1 bug 900324_05 // The following erroneous code causes g++ to segfault. // Cfront 2.0 passes this test. // keywords: segfault, arrays, references, assignment operator= typedef int int_

900324_04.c

// g++ 1.37.1 bug 900324_04 // g++ implements an extension which supports the copying of array objects. // This extension is not described in the current C++ Reference Manual, and // it is not imple

900220_01.c

// g++ 1.36.1 bug 900220_01 // Ref: 12.8 // Section 12.8 says: // "That is, X::operator=() will be generated only if no assignment // operation is explicitly declared and an object of class X is ac

900331_04.c

// g++ 1.37.1 bug 900331_04 // g++ is unable to correctly parse declarations of formal parameters and // local objects which have pointer-to-array types or reference-to-array // types. // Cfront 2.0

900215_02.c

// g++ 1.36.1 bug 900215_02 // g++ allows global objects (which happen to be pointers to members of some // class X) to be dereferenced without prefix object specifications within // member function