blob: 18b3d8fa61e8cbfa97fd00e5f7148f9f68ae5896 [file] [log] [blame]
// { dg-do compile { target c++11 } }
struct A
{
void f();
void f(int);
typedef int g;
};
template <class T> decltype (T::f) f();
template <class T> void f();
template <class T> decltype (T::g) g();
template <class T> void g();
int main()
{
f<A>();
g<A>();
}