[AArch64] Fix SVE testsuite failures for ILP32 (PR 83846)
[official-gcc.git] / gcc / testsuite / g++.dg / other / offsetof7.C
blob0ce2ee02aa8639907a2ae65c0581c16d70585a23
1 // PR c++/50608
2 // Testcase by <dberger@oubliette.org>
3 // { dg-do compile }
5 struct A {
6     int offset;
7 };
9 struct B: public A {
12 struct C {
13     A a;
14     B b;
17 int fails = __builtin_offsetof (C, b.offset);