代码搜索结果
找到约 4,295 项符合
G 的代码
900220_02.c
// g++ 1.36.1 bug 900220_02
// g++ treats plain `char' and `unsigned char' as different types, however
// it fails to treat `signed char' as being a different type from plain
// `char' as called for
900520_05.c
// g++ 1.37.1 bug 900520_05
// The following legal code gets syntax errors from g++.
// keywords: syntax, unimplemented, operator new, initialization, pointer types
struct struct_0 {
};
char *cp;
900428_01.c
// g++ 1.37.1 bug 900428_01
// g++ fails to issue error messages for cases where an incomplete type
// object must be evaluated if the value of such an evaluation is not
// actually used in the given
900210_05.c
// g++ 1.36.1 bug 900210_05
// Section 18.3 of the 2.0 Reference Manual says "An implementation
// providing { anachronistic features } should also provide a way for
// the user to ensure that they d
900406_02.c
// g++ bug 900406_02
// g++ fails to correctly parse some type specifications within casts.
// This results in incorrect errors being issued.
// These errors are not issued for identical code by ei
900404_04.c
// g++ 1.37.1 bug 900404_04
// [dcl.dcl] explains that simple-declarations may omit the
// init-declarator-list only if the decl-specifier-seq declares a
// class, i.e. if it contains a class-specifi
900321_01.c
// g++ 1.37.1 bug 900321_01
// cfront flags ERRORs on each of the lines indicated below. g++ does not
// flag either ERRORs or warnings.
// Although I cannot find where in the current C++ Reference
900330_02.c
// g++ 1.37.1 bug 900330_02
// The C++ Reference Manual says in section 13.1:
// "Two function declarations of the same name refer to the same function
// if they are in the same scope and have iden
anon2.c
// g++ should not complain about anonymous bitfields.
// Build don't link:
struct A
{
int : 2;
};
warning2.c
// g++ ought to warn about casting a base pointer to a derived reference.
// Build don't link:
struct A {
virtual void f () = 0;
};
struct B: public A { void f () { } };
int main()
{
B* bp;
A