// { dg-do compile } // Origin: Jakub Jelinek // Wolfgang Bangerth // PR c++/19311: Non-dependent address to member as function argument. template void foo (R (T::*x) ()); template void foo (R (T::*x) (C)); template struct I { int o (); int o () const; }; template void bar (void) { foo > (&I<1>::o); }