1 2 3 4 5 6 7 8 9 10 11 12
typedef unsigned T; struct S { T foo (void); static unsigned s1[16]; }; T S::foo () { T u = *(T *) (s1 + 10); return u; }