summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/ptrmem3.C
blob: 95b60379b401b803cfd77e775045cd865026c660 (plain)
1
2
3
4
5
6
7
8
// PR c++/28148

struct foo {
public:
  virtual int bar(int);
};

void (foo::*__Virtual__foo__Var1)() = (void (foo::*)())(&foo::bar);