#include
class c{
public:
long double f;
};
class c2{
public:
long f2;
};
static class sss: public c, public c2{
public:
long double m;
} sss;
#define _offsetof(st,f) ((char *)&((
#include
static struct sss{
long f;
long double a[10];
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
int main (void) {
printf ("++++Array of longdouble in s
#include
static struct sss{
long double f;
long a[10];
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
int main (void) {
printf ("++++Array of long in struct
#include
class c{
public:
int f;
};
class c2{
public:
long f2;
};
static class sss: public c, public c2{
public:
int m;
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f - (
#include
static long a [10];
static long e [0]; /* GCC only */
int main (void) {
printf ("+++Array long:\n");
printf ("size=%d,align=%d,5th-elem-offset=%d,5th-elem-align=%d\n",