代码搜索结果
找到约 4,295 项符合
G 的代码
900519_03.c
// g++ 1.37.1 bug 900519_03
// The C++ Reference Manual says (in section 8.4.3) "A reference to a
// volatile T can be initialized with a volatile T or a plain T but not a
// const T. A reference t
900404_02.c
// g++ 1.37.1 bug 900404_02
// g++ fails to treat multicharacter literals as type "int" as required by
// section 2.5.2 of the C++ Reference Manual.
// The result is that the following program will
900404_03.c
// g++ 1.37.1 bug 900404_03
// g++ fails to be able to properly flag errors for even simple cases of
// ambiguous overload resolution (such as the one shown below).
// Cfront 2.0 passes this test.
900403_04.c
// g++ 1.37.1 bug 900403_04
// The following erroneous code causes g++ to abort.
// keywords: abort, bit-fields, zero length
struct s {
unsigned int foo:0; // ERROR - This is the real line
uns
900519_09.c
// g++ 1.37.1 bug 900519_09
// g++ allows the allocation of const objects via operator new even when
// these uses of operator new do not include initializations.
// This is inconsistant within the
900227_01.c
// g++ 1.37.1 bug 900227_01
// g++ allows pointer type values to be converted to integral types which are
// not actually large enough to hold the converted values.
// Section 3.3.4 of the ANSI C st
900519_04.c
// g++ 1.37.1 bug 900519_04
// The following legal code causes g++ to segfault.
// cfront 2.0 passes this test.
// keywords: segfault, references, initialization
int cint_obj = 9;
void take_cint_
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