aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.pt/t32a.C
blob: d4456d9bf3c1b3c147c18588951750c2e633076a (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }

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)) (); }	// { dg-bogus "" }