1// PR c++/15875 2 3struct A 4{ 5 void foo(); 6}; 7 8template<int> void bar() 9{ 10 typedef void (A::*fptr)(); 11 fptr ptr = &A::foo; 12} 13