代码搜索结果
找到约 4,295 项符合
G 的代码
900330_01.c
// g++ 1.37.1 bug 900330_01
//
// As indicated by the example at the end of the section 3.5.3 of the ANSI
// C standard, when a type qualifier (i.e. "const" or "volatile") is applied
// to an array ty
900214_01.c
// g++ 1.36.1 bug 900214_01
// g++ allows function members of incomplete types to be declared to be
// friends of other types.
// Cfront 2.0 passes this test.
// keywords: friends, incomplete types
900210_08.c
// g++ 1.36.1 bug 900210_08
// g++ allows pointer-to-const values to be implicitly converted to
// void* values. This causes a silent loss of the const qualifier.
// Cfront 2.0 passes this test.
/
900519_07.c
// g++ 1.37.1 bug 900519_07
// It is illegal to specify or to use array-of-reference types, yet g++
// allows them to be specified (in typedef statements and in declarations)
// and to be used (in de
900205_03.c
// g++ 1.36.1 bug 900205_03
// Section 6.6.3 of the cfront 2.0 Reference Manual says "A return statement
// without an expression can be used only in functions that do not return
// a value, that is,
900402_02.c
// g++ 1.37.1 bug 900402_02
// g++ fails to correctly flag all attempts to construct an array type
// of zero length as errors.
// keywords: arrays, array bound, zero length
typedef int array_type[
900210_10.c
// g++ 1.36.1 bug 900210_10
// g++ allows operator[] to be declared as a static member function.
// This is illegal.
// Cfront 2.0 passes this test.
// keywords: operator[], static function members
900405_01.c
// g++ 1.37.1 bug 900405_01
// The C++ Reference Manual says (in section 5.4) "Types may not be defined
// in casts."
// g++ fails to flag errors for cases where an attempt is made to define
// a st
900407_01.c
// g++ 1.37.1 bug 900407_01
// g++ fails to flag errors for uses of anachronistic features such as the
// invocation of a base class constructor in a ctor-initializer list without
// explicitly givin
900519_02.c
// g++ 1.37.1 bug 900519_02
// The C++ Reference Manual says (in section 8.4.3) "A reference to a plain
// T can only be initialized with a plain T" however g++ allows the
// initialization of plain