blob: b44fad098fe65fe3cf46a63ed8d8c88c135831a4 [file] [log] [blame]
// PR c++/52816
// { dg-do compile { target c++11 } }
class c {
int f;
public:
template <typename A>
decltype(f) m(A) const;
};
decltype(c{}.m(0)) i;