Lines Matching full:can

45 static int A::y = 0; // expected-error {{'static' can only be specified inside the class definition}}
49 static void A::g() { } // expected-error {{'static' can only be specified inside the class definition}}
93 static int B::y = 0; // expected-error {{'static' can only be specified inside the class definition}}
99 static int B::y<T*> = 0; // expected-error {{'static' can only be specified inside the class definition}}
105 static int B::y<T***>; // expected-error {{'static' can only be specified inside the class definition}}
112 // expected-error@-1 {{'static' can only be specified inside the class definition}}
118 static void B::g() { } // expected-error {{'static' can only be specified inside the class definition}}
125 // expected-error@-1 {{'static' can only be specified inside the class definition}}
142 static int C<T>::y = 0; // expected-error {{'static' can only be specified inside the class definition}}
148 static void C<T>::g() { } // expected-warning {{'static' can only be specified inside the class definition}}
155 // expected-error@-1 {{'static' can only be specified inside the class definition}}
162 // expected-error@-1 {{'static' can only be specified inside the class definition}}
208 static int D<T>::y = 0; // expected-error {{'static' can only be specified inside the class definition}}
216 static int D<T>::y<U*> = 0; // expected-error {{'static' can only be specified inside the class definition}}
224 static int D<T>::y<U***>; // expected-error {{'static' can only be specified inside the class definition}}
233 // expected-error@-1 {{'static' can only be specified inside the class definition}}
241 // expected-error@-1 {{'static' can only be specified inside the class definition}}
249 // expected-error@-1 {{'static' can only be specified inside the class definition}}
257 static void D<T>::g() { } // expected-warning {{'static' can only be specified inside the class definition}}
266 // expected-error@-1 {{'static' can only be specified inside the class definition}}
274 // expected-error@-1 {{'static' can only be specified inside the class definition}}