aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t32a.C
blob: 13dfda122b6eb33f55ca846509073406d79c6766 (plain)
1
2
3
4
5
6
7
8
9
10
// Build don't link: 

struct A {
  int x;
  int y ();
  int z ();
  int foo (int j);
};

int A::foo (int q) { return q + (this->*(x ? &A::y : &A::z)) (); }	// gets bogus error