summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/pr33601.C
blob: 0c170092a6a918a4da1229e8c9830969ddf476fa (plain)
1
2
3
4
5
6
7
8
struct A
{
  int membervar;
};

typedef const A type;

int type::* getmemberptr() { return &type::membervar; }