代码搜索结果
找到约 4,295 项符合
G 的代码
g++-bprob-1.c
/* Check that various C constructs (in C++) don't cause problems for
* profile-directed block ordering.
Most of this test is the same as bprob-1.c and gcov-4.c in
gcc.misc-tests. The "count"
crash15.c
// g++ crashed because we unsaved the TARGET_EXPR for the return value
// for get_allocator without first expanding it, because it was part of the
// cleanup for the temporary string.
// Derived from
900127_02.c
// g++ 1.36.1 bug 900127_02
// g++ (mostly) keeps separate name spaces for the declarations of data
// objects and functions.
// This means that a single name may be declared as both a data object a
900401_01.c
// g++ 1.37.1 bug 900401_01
// The following erroneous code causes g++ to abort.
// Cfront 2.0 passes this test.
// keywords: abort, bit-fields, arrays
typedef unsigned nibble_array[4];
struct wh
900406_01.c
// g++ 1.37.1 bug 900406_01
// The following code causes g++ to segfault.
// cfront 2.0 passes this test.
// keywords: segfault, operator new, array types, array bounds
void function0 ()
{
new i
900519_01.c
// g++ 1.37.1 bug 900519_01
// g++ fails to flag errors for some attempts to declare or define non-member
// type conversion operators.
// cfront 2.0 passes this test.
// keywords: user-defined typ
900514_03.c
// g++ 1.37.1 bug 900514_03
// g++ fails to flag ERRORs on the following erroneous code.
// In Section 12.3.2 it says "Defining conversion by both a constructor and
// a conversion function can lead
900511_01.c
// g++ 1.37.1 bug 900511_01
// g++ fails to properly apply user-defined type conversion operators
// in cases where is it not obvious that the given conversion is
// appropriate for the context (i.e.
900520_04.c
// g++ 1.37.1 bug 900520_04
// g++ does not yet support the initialization of scalar type objects
// (including built-in arithmetic types, enum types, and pointer types)
// via constructor initializa
900322_01.c
// g++ 1.37.1 bug 900322_01
// ** Old, obsolete commentary:
// **************************************************************************
// The ANSI C standard, in section 3.1.2.5 (first paragraph)