blob: 3f08f9b0b8b0f59da60290cef3f18d30b12fa7f6 [file] [log] [blame]
// PR c++/49085
template <class T>
struct A // { dg-message "not complete" }
{
int i, j;
int ar[__builtin_offsetof(A,j)]; // { dg-error "incomplete type" }
};
A<int> a;