#include
class c{
public:
short f;
};
class c2{
public:
char f2;
};
static class sss: public c, public c2{
public:
short m;
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f
#include
class c{
public:
char f;
};
static class sss: public c{
public:
int m;
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
int main (void) {
printf ("+
#include
class c{
public:
char f;
};
class c2{
public:
int f2;
};
static class sss: public c, public c2{
public:
char m;
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f -
#include
class c{
public:
long double f;
};
static class sss: public c{
public:
char m;
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
int main (void) {
pr