代码搜索:Local
找到约 10,000 项符合「Local」的源代码
代码结果 10,000
www.eeworm.com/read/233448/4672634
c local6.c
/* APPLE LOCAL begin radar 4187916 */
template struct PCVector2
{ // { dg-error "" }
template PCVector2(const PCVector2 &cv) ;
PCVector2 operator- (const PCVector2
www.eeworm.com/read/233448/4672655
c local1.c
// PR c++/4286: We were crashing when trying to set up the class bindings in
// g(), because xref wanted the mangled name, which breaks inside a template.
// Of course, the offending code is actually
www.eeworm.com/read/233448/4672784
c local5.c
/* APPLE LOCAL file mainline 4.1 2005-06-17 4122333 */
struct Attribute { };
template bool operator == (const Attribute &attr, const T &value);
enum {
anon = 123
};
void test(int foo)
{
www.eeworm.com/read/233448/4673198
c local3.c
// { dg-do run }
// Bug: g++ lies about DECL_CONTEXT, so the backend thinks B::f is not
// function-local.
// Contributed by Jason Merrill
struct A {
virtual void f () = 0;
};
www.eeworm.com/read/233448/4673217
c local4.c
// { dg-do run }
// Test that a local declaration of one of a global overload set works
int f () { return 0; }
int f (int);
int main ()
{
int f ();
return f ();
}
www.eeworm.com/read/233448/4673220
c local2.c
// { dg-do assemble }
// { dg-options "-O2" }
void f ()
{
struct Init {
Init () {
}
};
}
www.eeworm.com/read/233448/4673371
c local1.c
// { dg-do link }
struct Outer {
virtual ~Outer() {}
};
int
main()
{
{ struct Inner : virtual public Outer {} inner; }
{ struct Inner : virtual public Outer {} inner; }
}
www.eeworm.com/read/233448/4673740
c local7.c
// { dg-do assemble }
template inline STRUCT *
setback(MEMBER *bp, MEMBER STRUCT::*offset)
{
if(!bp) return 0;
union { int i; MEMBER STRUCT::*of; } u;
www.eeworm.com/read/233448/4673750
c local3.c
// { dg-do run }
extern "C" void abort();
template
void f(T)
{
int j;
j = 6;
struct S {
int i;
};
S s;
s.i = j;
if (s.i != 6)
abort();
}
int main()
{
f(7);
}
www.eeworm.com/read/233448/4673792
c local4.c
// { dg-do run }
extern "C" void abort();
template
struct S {};
S si;
template
int f(T t)
{
struct S {
int g(int i) { return i + 2; }
};
S s;
return s.g(t)