blob: c5a766aa5b53bd84ccc5108fb3b0d4c2060ae755 [file] [log] [blame]
// PR c++/79687
// { dg-do run }
struct A
{
char c;
};
int main()
{
char A::* p = &A::c;
static char A::* const q = p;
A a;
return &(a.*q) - &a.c;
}