blob: b30c31dbfa9977eefe56d5ab8cde036456a097b8 [file] [log] [blame]
// PR c++/89331
class A {
public:
char a;
};
class B : public A {
public:
static const unsigned b = __builtin_offsetof(B, a); // { dg-error "incomplete" }
};