代码搜索结果
找到约 4,295 项符合
G 的代码
900210_06.c
// g++ 1.36.1 bug 900210_06
// g++ allows values of pointer-to-const types to be assigned to variables
// of pointer-to-non-const types.
// Cfront 2.0 disallows such assignments.
// g++ also allows
900121_01.c
// g++ 1.36.1 bug 900121_01
// The following file causes g++ 1.36.1 (and 1.36.2) to abort.
// Cfront 2.0 passes this test.
// keywords: abort, incomplete types, reference types, formal parameters
900213_03.c
// g++ 1.36.1 bug 900213_03
// g++ fails to detect an error when the address of a "bound" function is
// assigned to a pointer-to-member-function variable.
// It does however correctly detect a simi
900207_03.c
// g++ 1.36.1 bug 900207_03
// g++ fails to allow objects of class or struct types to be initialized
// using "constructor syntax" in cases where an implicitly generated copy
// constructor would be
900324_02.c
// g++ 1.37.1 bug 900324_02
// The following erroreous code causes g++ to segfault.
// Cfront 2.0 passes this test.
// keywords: segfault, function pointer, conditional operator ?:
void function_0
900331_03.c
// g++ 1.37.1 bug 900331_03
// Special Options: -ansi
// The following code causes g++ to abort.
// Curiously, the abort does not occur if the -pedantic option is used.
// Cfront 2.0 passes this t
900212_01.c
// g++ 1.36.1 bug 900212_01
// g++ fails to flag as errors all attempts to add or subtract integer values
// from pointers-to-member values.
// Some cases are detected however.
// Cfront 2.0 passes
900324_06.c
// g++ 1.37.1 bug 900324_06
// g++ is unable to use context information (i.e. the required type of the
// expression) to disambiguate a possibly overloaded function name when that
// name is used as
900209_01.c
// g++ 1.36.1 bug 900209_01
// g++ implicitly casts values whose types are "void*" to other pointer
// types (just as the language rules for C permit). Such implicit
// conversions are not allowed b
900213_01.c
// g++ 1.36.1 bug 900213_01
// g++ incorrectly diagnoses the error when an attempt is made to reference
// a non-static data-member without an object indication.
// Similar attempts to reference non