Lines Matching full:virtual
4 virtual void f();
5 virtual void g() = 0; // expected-note{{unimplemented pure virtual method 'g' in 'A'}}
7 void h() = 0; // expected-error {{'h' is not virtual and cannot be declared pure}}
18 virtual void A::k() { } // expected-error{{'virtual' can only be specified inside the class definition}}
21 // Needs to recognize that overridden function is virtual.
25 void g(int) = 0; // expected-error{{'g' is not virtual and cannot be declared pure}}
43 virtual func f = 0;
44 virtual func (g) = 0;
51 virtual virtual void func(); // expected-warning {{duplicate 'virtual' declaration specifier}}
57 struct A { virtual int f(); };
60 virtual int f();