Lines Matching refs:Static
108 namespace Static {
112 static auto f() -> decltype(m); // expected-error{{'this' cannot be implicitly used in a static member function declaration}}
113 static auto g() -> decltype(this->m); // expected-error{{'this' cannot be used in a static member function declaration}}
115 static int h();
117 static int i() noexcept(noexcept(m + 2)); // expected-error{{'this' cannot be implicitly used in a static member function declaration}}
120 auto X1::h() -> decltype(m) { return 0; } // expected-error{{'this' cannot be implicitly used in a static member function declaration}}
127 static T f(int);