代码搜索:declared
找到约 3,220 项符合「declared」的源代码
代码结果 3,220
www.eeworm.com/read/162614/5517479
c using12.c
// PR c++/16707
int i;
using N::i; // { dg-error "'N' has not been declared" }
www.eeworm.com/read/162614/5517505
c friend8.c
// Test that we look up a friend declared at top level ahead of an
// undeclared friend found by argument dependent lookup.
// { dg-do run }
int f(int) { return 0; }
struct S {
friend int f(char)
www.eeworm.com/read/162614/5517506
c hidden-temp-class11.c
// Copyright (C) 2005 Free Software Foundation
// Contributed by Kriang Lerdsuwanakij
// { dg-do compile }
namespace N {
class A {
template friend cla
www.eeworm.com/read/162614/5517860
c error22.c
// PR c++/15786
struct A {
void foo(bar* p); /* { dg-error "declared" } */
};
www.eeworm.com/read/162614/5523357
f90 contained_2.f90
! Arrays declared in parent but used in the child.
program error
implicit none
integer, dimension (10) :: a
contains
subroutine test()
implicit none
a(1) = 0
end subroutine
end
www.eeworm.com/read/162614/5528258
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/162614/5528317
c 20010714-1.c
/* Test that prefix attributes after a comma only apply to a single
declared object or function. */
/* Origin: Joseph Myers . */
__attribute__((noreturn)) void d0 (void), __attr
www.eeworm.com/read/162614/5529288
c c99-fordecl-3.c
/* Test for C99 declarations in for loops. Test constraints: struct
and union tags can't be declared there (affirmed in response to
DR#277). */
/* Origin: Joseph Myers
www.eeworm.com/read/162614/5531336
c attr-6.c
/* Test for format attributes: test default attributes are applied
to implicit declarations. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-std=gnu89 -Wf
www.eeworm.com/read/159030/5588677
tests02
// 2. BAD DECLARATIONS: identifier used, not declared
class Program
{
void main()
{
int a;
a = -12147483648;
}
}