Lines Matching defs:Virtual
9 class Virtual {
10 virtual void foo() { abort(); } // expected-note 4 {{because type 'Virtual' has a virtual member function}}
13 class VirtualBase : virtual Okay { // expected-note 4 {{because type 'VirtualBase' has a virtual base class}}
39 Virtual v; // expected-error {{union member 'v' has a non-trivial copy constructor}}
52 Virtual v; // expected-note {{because the function selected to copy field of type 'Virtual' is not trivial}}
78 struct s1 : Virtual { // expected-note {{because the function selected to copy base class of type 'Virtual' is not trivial}}
126 Either<int,Virtual> virt(0); // expected-note {{in instantiation of template}}