7 struct { float f; } sa[2];
10 char a[__builtin_offsetof (S, sa->f)
11 == __builtin_offsetof (S, sa[0].f) ? 1 : -1];
17 struct { float f; } sa[N];
18 static int foo () { return __builtin_offsetof (T, sa->f); }
19 static int bar () { return __builtin_offsetof (T, sa[0].f); }
22 char b[__builtin_offsetof (T<5>, sa->f)
23 == __builtin_offsetof (T<5>, sa[0].f) ? 1 : -1];
28 if (T<1>::foo () != T<1>::bar ())
30 if (T<7>::foo () != T<7>::bar ())