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