代码搜索结果
找到约 4,295 项符合
G 的代码
900213_02.c
// g++ 1.36.1 bug 900213_02
// The following erroneous code causes g++ to abort.
// Cfront 2.0 passes this test.
// keywords: abort, member pointers, operator*
struct struct0 {
int data_member;
900321_05.c
// g++ 1.37.1 bug 900321_05
// The following code is legal as far as the ANSI C standard, GCC, and
// cfront are concerned, however g++ issues errors for the lines indicated.
// Cfront 2.0 passes th
891229_02.c
// g++ 1.36.1 bug 891229_02
// g++ limits the scope of names which are declared as typedef names within
// another type to that other type.
// This conflicts with the (global) scope given to such na
891230_01.c
// g++ 1.36.1 bug 891230_01
// g++ gives typedefs which are nested within class declarations a scope
// which is local to the class declaration itself. This causes examples
// like the following to
900127_01.c
// g++ 1.36.1 bug 900127_01
// g++ often fails to detect (and issue errors for) ambiguous overload
// situations. In such cases, one of the possibilities is chosen
// (apparently arbitrarily). Error
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