aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/parse3.C
blob: 16f99aaa2deaf2d6e7f6587d0359a985fd3b33e8 (plain)
1
2
3
4
5
6
// PRMS Id: 4484 (bug 2)
// Bug: g++ does not grok abstract declarator syntax for method pointers.
// Build don't link:

template <class T> class A { };
void (A<int>::*p)() = (void (A<int>::*)())0; // gets bogus error - abstract declarator failure