https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79687
--- Comment #18 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
An alternative, and hopefully still valid testcase:
struct A
{
char c;
};
int main()
{
static char A::* q;
A a;
return &(a.*q) - &a.c;
}
