代码搜索:Struct
找到约 10,000 项符合「Struct」的源代码
代码结果 10,000
www.eeworm.com/read/366702/2865846
c struct2.c
// PR c++/14510
struct c {};
namespace A {
int c(struct c*req);
}
int A::c(struct c*req) {}
www.eeworm.com/read/366702/2865896
c struct1.c
// Various struct lookup tests. We didn't used to complain about
// the definition of C.
struct A;
typedef struct A B; // { dg-error "previous declaration" }
struct B; // { dg-error "using typede
www.eeworm.com/read/366702/2866396
c struct-2.c
// Origin: Volker Reichelt
// PR c++/18731
template struct A
{
struct T::B {}; // { dg-error "invalid class name" }
};
www.eeworm.com/read/366702/2866437
c struct-3.c
// Origin: Volker Reichelt
// PR c++/18731
struct A
{
struct B;
typedef B C;
};
struct A::C {}; // { dg-error "invalid class name" }
www.eeworm.com/read/366702/2866509
c struct-1.c
// Origin: Volker Reichelt
// PR c++/18731
template struct T::A {}; // { dg-error "invalid class name" }
www.eeworm.com/read/366702/2867088
c struct2.c
/* PR c++/23180. */
/* Initialize a local structure with an expression that attempts to use
pointer arithmetic to calculate another structure field offset. */
void saveLoadEntries(const void *);
www.eeworm.com/read/366702/2867144
c struct1.c
struct bug {
const char *name;
unsigned long type;
};
struct bug s = { 0, (unsigned long) &s | 1 };
www.eeworm.com/read/366702/2867206
c struct3.c
/* PR c++/23180. */
/* Initialize a global variable with an expression that attempts to use
pointer arithmetic to calculate a structure field offset. */
struct Track {
char soundName[15];
};
www.eeworm.com/read/366702/2868044
c anon-struct.c
// Contributed by Gabriel Dos Reis
// { dg-do compile }
namespace N { }
namespace M
{
typedef struct { } N;
}
www.eeworm.com/read/366702/2868169
c big-struct.c
// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-require-effective-target ilp32 }
struct A
{
};
struct B : public A
{
char b[0x20000000];
} e;