1 2 3 4 5 6 7 8 9 10
// PR c++/49085 template <class T> struct A // { dg-message "declaration" } { int i, j; int ar[__builtin_offsetof(A,j)]; // { dg-error "incomplete type" } }; A<int> a;