// { dg-do compile } // { dg-options "-fabi-version=0" } struct A { template int f (); }; typedef int (A::*P)(); template

struct S {}; void g (S<&A::f >) {} // { dg-final { scan-assembler _Z1g1SIXadL_ZN1A1fIiEEivEEE } }