1 // { dg-do assemble  }
2 // PRMS Id: 4484 (bug 1)
3 // Bug: g++ does not support templates involving method pointers.
4 
5 struct A {
6   void f ();
7 };
8 
9 template <class T> void
f(void (T::* p)())10 f (void (T::*p)())		// { dg-bogus "" } use of template parm as aggregate
11 { }
12 
g()13 void g ()
14 {
15   f (&A::f);			// { dg-bogus "" } templates and method pointers
16 }
17