14 static class sss
: public c
, public c2
{
19 #define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
22 printf ("++Class with long inhereting classes with long & longlong:\n");
23 printf ("size=%d,align=%d\n", sizeof (sss
), __alignof__ (sss
));
24 printf ("offset-f=%d,offset-f2=%d,offset-m=%d,\nalign-f=%d,align-f2=%d,align-m=%d\n",
25 _offsetof (class sss
, f
), _offsetof (class sss
, f2
), _offsetof (class sss
, m
),
26 __alignof__ (sss
.f
), __alignof__ (sss
.f2
), __alignof__ (sss
.m
));