代码搜索结果
找到约 4,295 项符合
G 的代码
900403_01.c
// g++ 1.37.1 bug 900403_01
// g++ allows casts to be treated as lvalues (even when the -pedantic
// option is used). Neither the C++ Reference Manual nor cfront 2.0
// allow this. (gcc gives warni
900210_07.c
// g++ 1.36.1 bug 900210_07
// g++ allows values of pointer-to-signed types to be assigned to variables
// of pointer-to-unsigned types, and vise versa.
// Cfront 2.0 passes this test.
// keyowrds:
900520_06.c
// g++ 1.37.1 bug 900520_06
// When an object of a class type is passed into a formal parameter of the
// same class type (in a function call) the language definition calls for
// this action to be t
900211_03.c
// g++ 1.36.1 bug 900211_03
// The following erroneous code causes g++ to segfault.
// Cfront 2.0 passes this test.
// keywords: segfault, operator new, arrays, undeclared, array bound
void functi
900119_01.c
// g++ 1.36.1 bug 900119_01
// g++ allows initializers to be included in the declaration of members
// of classes, structs, unions (even when -pedantic is used).
// This is not allowed by the C++ 2.
900210_02.c
// g++ 1.36.1 bug 900210_02
// g++ allows integral type values to be assigned to variables of pointer
// types. According to the C++ Reference Manual, this is illegal.
// Cfront 2.0 passes this tes
900520_02.c
// g++ 1.37.1 bug 900520_02
// keywords: reference types, initialization, parameter passing
typedef int b_array[3];
typedef int u_array[];
typedef b_array &b_array_ref;
typedef u_array &u_array_ref
900519_12.c
// g++ 1.37.1 bug 900519_12
// The following erroneous code causes g++ to segfault.
// cfront 2.0 passes this test.
// keywords: segfault, typedef, pointer type, function type
typedef eek void (*)
900210_01.c
// g++ 1.36.1 bug 900210_01
// g++ allows pointer type values to be assigned to variables of integal
// types. According to the C++ Reference Manual, this is illegal.
// Cfront 2.0 passes this test
900321_04.c
// g++ 1.37.1 bug 900321_04
// The following code causes g++ to segfault.
// Cfront 2.0 passes this test.
// keywords: segfault, object declaration, pointer, array, incomplete type
struct incomple