blob: 9484173cd98f0b6e31f17157d1604f32e80601fa [file] [log] [blame]
// PR c++/37540
struct A
{
int g() {return 0;}
};
template <typename T_>
void f(A a)
{
__decltype(a.g()) i;
}
int main()
{
f<int>(A());
}