// PR c++/49042 // { dg-do compile { target c++11 } } template class A { T p; public: template auto f() -> decltype(+p) { } }; int main() { A().f(); }