aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/parse6.C
blob: 677dbe2cb3fed221feab6690671fb063d8775760 (plain)
1
2
3
4
5
6
7
8
9
// PRMS id: 4653
// Bug: g++ tries to resolve declarator/expression ambiguities too soon.
// Build don't link:

template<class T> struct A { };

void f () {
  void (A<int>::*pmf) ();	// gets bogus error - late binding
}