代码搜索:declared
找到约 3,220 项符合「declared」的源代码
代码结果 3,220
www.eeworm.com/read/393900/2462413
h shapeinterface.h
#ifndef __SHAPEINTERFACE_H__
#define __SHAPEINTERFACE_H__
#include
#include
// Foware declared...
class CWindowGc;
/**
*
* @class CShape ShapeInterface.h
* @br
www.eeworm.com/read/366702/2865867
c using13.c
// { dg-do compile }
// Origin: Stefan Stra遝r
// PR c++/20240:
namespace A { int a; }
namespace C{
int a;
using A::a; // { dg-error "already declared" }
}
www.eeworm.com/read/366702/2868067
c fold1.c
// PR middle-end/27384
// { dg-do compile }
struct A
{
static const int i = i; // { dg-error "not declared" }
int x[i]; // { dg-error "integral constant-expression" }
};
www.eeworm.com/read/366702/2868097
c new1.c
// PR c++/28267
// { dg-do compile }
struct A
{
A();
void* operator new(__SIZE_TYPE__, int = X); // { dg-error "not declared" }
void operator delete(void*, int);
};
void foo()
{
new A;
}
www.eeworm.com/read/366702/2869300
c redecl2.c
// { dg-do assemble }
struct S {
S(int); // { dg-error "with" }
S(int); // { dg-error "overloaded" } already declared
~S();// { dg-error "with" }
~S(); // { dg-error "overloaded" } already
www.eeworm.com/read/366702/2871700
c 900210_10.c
// { dg-do assemble }
// 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[],
www.eeworm.com/read/366702/2881090
c wredundant-decls-1.c
/* PR 16684: no redundant declaration warnings should issue the first
time a built-in function is declared.
{ dg-do compile }
{ dg-options "-Wredundant-decls" } */
void *malloc (__SIZE_TYPE_
www.eeworm.com/read/366702/2881276
c funcdef-var-1.c
/* Test ICE on defining function with a name previously declared as a
nonfunction. Bug 28299 from Bernhard Fischer
. */
/* { dg-do compile } */
/* { dg-options "-Wmissing-pr
www.eeworm.com/read/366702/2884591
c 20020919-1.c
/* Copyright (C) 2002 Free Software Foundation.
by Hans-Peter Nilsson
Making sure that asm clobbers conflicting with asm-declared input
operands are detected: ``You may not w
www.eeworm.com/read/366702/2884617
c funcdef-var-2.c
/* Test ICE on defining function with a name previously declared as a
nonfunction. Bug 28299 from Bernhard Fischer .
Reduced testcase from Volker Reichelt