代码搜索:declared

找到约 3,220 项符合「declared」的源代码

代码结果 3,220
www.eeworm.com/read/162614/5517562

c builtin5.c

// Verify that builtin is used when declared in namespace std // { dg-do compile } // { dg-options "-Wall" } namespace std { extern "C" int printf(const char*,...); } void foo() { std::printf("
www.eeworm.com/read/162614/5517614

c stmtexpr4.c

// PR c++/20147 // { dg-do compile } // { dg-options "" } void foo() { ({x;}); // { dg-error "was not declared" } }
www.eeworm.com/read/162614/5517624

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/162614/5517668

c builtin3.c

// Verify that declaring builtin in namespace std doesn't give us // declaration in global namespace // { dg-do compile } // { dg-options "" } namespace std { extern "C" int printf(char*, ...); } v
www.eeworm.com/read/162614/5517678

c dllimport9.c

// Handle dllimport attribute for functions declared inline. // { dg-do compile { target i?86-*-cygwin* i?86-*-mingw*} } // { dg-options { -W } } inline __attribute__((dllimport)) void bar() { } //
www.eeworm.com/read/162614/5518017

c typename5.c

// { dg-do compile } // Origin: Volker Reichelt // PR c++/10553: ICE processing typename with context error. template struct A {}; template str
www.eeworm.com/read/162614/5519324

c memclass1.c

// { dg-do compile } // Origin: Volker Reichelt // PR c++/10555: ICE for member class template when one of the // template argument levels contains errors. template
www.eeworm.com/read/162614/5519422

c crash39.c

// PR c++/22405 template void foo(T &arg) { // { dg-error "declared" } arg+=1; } template void foo(T &arg) { // { dg-error "redefinition" } arg+=2; } template void foo
www.eeworm.com/read/162614/5520652

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/162614/5520864

c friend35.c

// { dg-do assemble } class foo { friend void bar(int); // { dg-error "" } must be declared first }; template void bar(T);