代码搜索:declared
找到约 3,220 项符合「declared」的源代码
代码结果 3,220
www.eeworm.com/read/249482/4449464
dat errorass14.dat
错误信息: Must be declared in pass 1
中文注释: 得到的不是汇编程序所要求的常数值.例如,向前引用的向量长度.
www.eeworm.com/read/240162/4581387
c crash5.c
// { dg-do assemble }
template
struct K {
void f();
};
template
void
K::f() // { dg-error "" } i has not been declared
{
}
www.eeworm.com/read/240162/4581624
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/240162/4582180
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/240162/4582759
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/240162/4582809
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/4670978
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 (
www.eeworm.com/read/233448/4671306
c builtin4.c
// Verify that builtin is used when declared in global namespace
// { dg-do compile }
// { dg-options "-Wall" }
extern "C" int printf(const char*,...);
void foo() {
printf("%d"); // { dg-warnin
www.eeworm.com/read/233448/4674207
c crash5.c
// { dg-do assemble }
template
struct K {
void f();
};
template
void
K::f() // { dg-error "" } i has not been declared
{
}
www.eeworm.com/read/233448/4674443
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