代码搜索:declared
找到约 3,220 项符合「declared」的源代码
代码结果 3,220
www.eeworm.com/read/470693/1463345
c 20010701-1.c
/* Test that postfix attributes only apply to a single declared object.
(decl_attributes used to chain them onto the end of the prefix attributes,
which caused them to apply to other declaration
www.eeworm.com/read/460691/1558349
pod perlsyn.pod
=head1 NAME
perlsyn - Perl syntax
=head1 DESCRIPTION
A Perl script consists of a sequence of declarations and statements.
The only things that need to be declared in Perl are report formats
www.eeworm.com/read/240162/4579032
c template1.c
/* PR c++/3009 */
/* { dg-do run } */
// According to 14.6.2.4 of C++ Standard:
// "If a base class is a dependent type, a member of that
// class cannot hide a name declared within a template, or a
/
www.eeworm.com/read/240162/4581482
c explicit73.c
// { dg-do assemble }
// by Alexandre Oliva
// According to [temp.expl.spec]/2, a template explicit specialization
// must be declared in the namespace that contains the decl
www.eeworm.com/read/240162/4581738
c template13.c
// { dg-do assemble { xfail *-*-* } }
// Templates defined outside must be declared inside
namespace bar
{
template
void foo(); // trick it to provide some prior declaration
template
www.eeworm.com/read/240162/4582150
c friend4.c
// { dg-do assemble }
// GROUPS passed friends
// do_friend should complain that foo was declared as a friend of
// A before A was defined
struct A;
struct B { friend A::foo (); };// { dg-error "" }
www.eeworm.com/read/240162/4582185
c arm3.c
// { dg-do assemble }
// GROUPS passed initialization
// ARM $11.4: A function first declared in a friend decl is equivalent
// to an extern decl, so the below is illegal.
class X {
friend g()
www.eeworm.com/read/240162/4582824
c 900220_01.c
// { dg-do run }
// g++ 1.36.1 bug 900220_01
// Ref: 12.8
// Section 12.8 says:
// "That is, X::operator=() will be generated only if no assignment
// operation is explicitly declared and an objec
www.eeworm.com/read/240162/4589251
c 20010701-1.c
/* Test that postfix attributes only apply to a single declared object.
(decl_attributes used to chain them onto the end of the prefix attributes,
which caused them to apply to other declaration
www.eeworm.com/read/233448/4671114
c used-before-declaration.c
// Copyroght (C) 2003 Free Software Foundation
// Origin: PR/12832, Jonathan Wakely
void f() { g(); } // { dg-error "not declared" "" }
void g() { }