代码搜索:CFront
找到约 1,009 项符合「CFront」的源代码
代码结果 1,009
www.eeworm.com/read/470693/1459591
c 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.
/
www.eeworm.com/read/240162/4581300
c t42.c
// { dg-do run }
extern "C" void abort ();
struct A {
struct stat {
int x;
stat (int j) { abort (); }
};
static int stat (double d) { return 0; } // { dg-bogus "" } cfront takes it
s
www.eeworm.com/read/240162/4582338
c copy3.c
// { dg-do run }
// GROUPS passed copy-ctors
/*
If I compile it with cfront (AT&T C++ Translator 2.00.02 08/25/89) and run it
I get:
A::A()
A::A(const A&)
B::Bar()
A::~A()
A::~A()
If I compil
www.eeworm.com/read/240162/4582774
c 900324_02.c
// { dg-do assemble }
// g++ 1.37.1 bug 900324_02
// The following erroreous code causes g++ to segfault.
// Cfront 2.0 passes this test.
// keywords: segfault, function pointer, conditional opera
www.eeworm.com/read/240162/4582793
c 900211_03.c
// { dg-do assemble }
// 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, a
www.eeworm.com/read/240162/4582808
c 900321_05.c
// { dg-do run }
// g++ 1.37.1 bug 900321_05
// The following code is legal as far as the ANSI C standard, GCC, and
// cfront are concerned, however g++ issues errors for the lines indicated.
// Cf
www.eeworm.com/read/240162/4582813
c 900208_03.c
// { dg-do assemble }
// g++ 1.36.1 bug 900208_03
// The Cfront 2.0 reference manual (5.3.3) says "This type must be an
// object type; functions cannot be allocated this way...".
// g++ fails to d
www.eeworm.com/read/240162/4582822
c 900324_05.c
// { dg-do assemble }
// g++ 1.37.1 bug 900324_05
// The following erroneous code causes g++ to segfault.
// Cfront 2.0 passes this test.
// keywords: segfault, arrays, references, assignment oper
www.eeworm.com/read/240162/4582828
c 900214_01.c
// { dg-do assemble }
// 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: fr
www.eeworm.com/read/240162/4582844
c 900208_04.c
// { dg-do assemble }
// g++ 1.36.1 bug 900208_04
// The Cfront 2.0 reference manual (5.3.3) says "This type must be an
// object type; functions cannot be allocated this way...".
// g++ fails to d