代码搜索:declared
找到约 3,220 项符合「declared」的源代码
代码结果 3,220
www.eeworm.com/read/366702/2870494
c friend34.c
// { dg-do assemble }
// This testcase won't fail if class ::foo is forward-declared in the
// global namespace, nor if class bar is not a template class.
template
class bar {
p
www.eeworm.com/read/366702/2871045
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/366702/2871626
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/366702/2871676
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/366702/2877220
f90 used_types_16.f90
! { dg-do compile }
! Tests the fix for PR31550 in which pointers to derived type components
! were being TREE-SSA declared in the wrong order and so in the incorrect
! context.
!
! Contributed by Dan
www.eeworm.com/read/366702/2877285
f90 a.23.5.f90
! { dg-do compile }
SUBROUTINE A23_5_WRONG()
COMMON /C/ X,Y
! Incorrect: common block C cannot be declared both
! shared and private
!$OMP PARALLEL PRIVATE (/C/), SHARED(/C/)
www.eeworm.com/read/366702/2877339
f90 f2c_8.f90
! { dg-do compile }
! { dg-options "-ff2c" }
! PR 25392
! Verify that the type of the result variable matches the declared
! type of the function. The actual type of the function may be
! different f
www.eeworm.com/read/366702/2877671
f90 alloc_comp_default_init_2.f90
! { dg-do run }
! Tests the fix for PR35959, in which the structure subpattern was declared static
! so that this test faied on the second recursive call.
!
! Contributed by Micha雔 Baudin
www.eeworm.com/read/366702/2881065
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/365785/2895392
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