// { dg-do compile { target c++11 } } struct A { void f(); void f(int); typedef int g; }; template decltype (T::f) f(); template void f(); template decltype (T::g) g(); template void g(); int main() { f(); g(); }