summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/pmf1.C
blob: 685688e5ad77e9b4eb0d78a365b66aa85f1d58f0 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do run  }
struct foo {};
typedef long unsigned int & (foo::*pmf)(void);
void fn (...) {}
int main ()
{
  pmf y = 0;
  fn (y);
}