代码搜索结果

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

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

950906-1.c

g (int i) { } f (int i) { g (0); while ( ({ i--; }) ) g (0); } main () { f (10); exit (0); }

941202-1.c

g (x, y) { if (x != 3) abort (); } static inline f (int i) { int *tmp; tmp = (int *) alloca (sizeof (i)); *tmp = i; g (*tmp, 0); } main () { f (3); exit (0); };

g.c

foo (a, b) long long a, b; { if (a == b) return 0; else return 1; }