代码搜索结果
找到约 4,295 项符合
G 的代码
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
900511_03.c
// g++ 1.37.1 bug 900511_03
// g++ does not properly shadow names of types with names of data members
// in cases where the type names in question are used in the context of
// formal parameters list
900121_02.c
// g++ 1.36.1 bug 900121_02
// Assignment of structs is defined as memberwise assignment,
// however g++ (1.36.2) and Cfront 2.0 differ on the definition
// of assignment for unions.
// (NOTE: Strou
900208_04.c
// g++ 1.36.1 bug 900208_04
// 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)
900211_02.c
// g++ 1.36.1 bug 900211_02
// g++ allows you to explicitly specify the return type for a type conversion
// operator.
// The Cfront 2.0 Reference Manual (12.3.2) says that this in not allowed.
//
900212_03.c
// g++ 1.36.1 bug 900212_03
// g++ segfaults on any attempt to use the ->* operator.
// Cfront 2.0 passes this test.
// keywords: member pointers, operator->*
struct struct0 {
int data_member;