代码搜索结果

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

900324_03.c

// g++ 1.37.1 bug 900324_03 // g++ is unable to correctly parse declarations of non-global function-pointer // variables and/or function-pointer formal parameters. // Cfront 2.0 passes this test. /

900210_09.c

// g++ 1.36.1 bug 900210_09 // g++ allows pointer to members (both data members and function members) // to be implicitly converted to void*. // Section 4.8 of the Cfront 2.0 Reference Manual disall

900212_02.c

// g++ 1.36.1 bug 900212_02 // g++ fails to flag as errors attempts to take the difference of two values // of some compatible pointer-to-member type. // Cfront 2.0 passes this test. // keywords: p

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