代码搜索:declared
找到约 3,220 项符合「declared」的源代码
代码结果 3,220
www.eeworm.com/read/233448/4674996
c err-msg10.c
// { dg-do assemble }
// GROUPS passed error-messages
class foo {
public:
virtual static int f () = 0;// { dg-error "" } member `f' cannot be declared both virtual and static.*
};
www.eeworm.com/read/233448/4675577
c 900127_02.c
// { dg-do assemble }
// 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
www.eeworm.com/read/233448/4675627
c 891229_02.c
// { dg-do assemble }
// g++ 1.36.1 bug 891229_02
// g++ limits the scope of names which are declared as typedef names within
// another type to that other type.
// This conflicts with the (global)
www.eeworm.com/read/233448/4684010
c c99-tag-2.c
/* Test for handling of tags. A struct defined in an inner scope does
not match one declared in an outer scope. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { d
www.eeworm.com/read/216450/4895496
h proto.h
/* Function prototypes. */
#include "timers.h"
/* Structs used in prototypes must be declared as such first. */
struct buf;
struct filp;
struct inode;
struct super_block;
/* cache.c */
_PROTOTYPE
www.eeworm.com/read/190666/5174329
c ns11.c
// Build don't link
// Check [namespace.memdef]/2
namespace A{
void f(int);
void f(int,int);
int i; // ERROR - .*
}
void A::f(){} // ERROR - should have been declared befo
www.eeworm.com/read/190666/5175437
c 900214_01.c
// 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: friends, incomplete types
www.eeworm.com/read/190666/5175442
c 900210_10.c
// g++ 1.36.1 bug 900210_10
// g++ allows operator[] to be declared as a static member function.
// This is illegal.
// Cfront 2.0 passes this test.
// keywords: operator[], static function members
www.eeworm.com/read/167728/5453098
texi specfunc-fermi-dirac.texi
@cindex Fermi-Dirac function
The functions described in this section are declared in the header file
@file{gsl_sf_fermi_dirac.h}.
@menu
* Complete Fermi-Dirac Integrals::
* Incomplete Fermi-Dirac
www.eeworm.com/read/162614/5517290
c scope1.c
// Test that we've scoped the destructor properly for variables declared
// in a conditional.
// { dg-do run }
extern "C" void abort ();
class C
{
bool live;
public:
C();
C(const C &);
~C (