代码搜索结果

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

900428_03.c

// g++ 1.37.1 bug 900428_03 // g++ fails to detect cases where a constructor for a derived class invokes // (either explicitly or implicitly) a private constructor for a base class. // cfront 2.0 pa

900208_03.c

// g++ 1.36.1 bug 900208_03 // The Cfront 2.0 reference manual (5.3.3) says "This type must be an // object type; functions cannot be allocated this way...". // g++ fails to detect (at compile time)

900325_01.c

// g++ 1.37.1 bug 900325_01 // g++ fails to generate errors for attempts to declare a formal argument to // be of a void type. // keywords: formal parameter, void type typedef void __void; typedef

900221_01.c

// g++ 1.36.1 bug 900221_01 // Ref: 3.2 // // Section 3.2 of the C++ 2.0 Reference Manual says: // // "Names of formal arguments for a function are treated as if they // were declared in the outermos

900519_06.c

// g++ 1.37.1 bug 900519_06 // g++ allows the type given in an invocation of operator new to be a // reference type. // Since pointers to reference types are illegal, the required return type // fro

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