Home | History | Annotate | Download | only in tests
      1 In file included from non_virtual_trace.cpp:5:
      2 ./non_virtual_trace.h:12:1: warning: [blink-gc] Left-most base class 'A' of derived class 'D' must define a virtual trace method.
      3 class A : public GarbageCollected<A> {
      4 ^
      5 non_virtual_trace.cpp:13:1: warning: [blink-gc] Class 'C' overrides non-virtual trace of base class 'A'.
      6 void C::trace(Visitor* visitor)
      7 ^
      8 ./non_virtual_trace.h:14:5: note: [blink-gc] Non-virtual trace method declared here:
      9     void trace(Visitor*);
     10     ^
     11 non_virtual_trace.cpp:18:1: warning: [blink-gc] Class 'D' overrides non-virtual trace of base class 'A'.
     12 void D::trace(Visitor* visitor)
     13 ^
     14 ./non_virtual_trace.h:14:5: note: [blink-gc] Non-virtual trace method declared here:
     15     void trace(Visitor*);
     16     ^
     17 3 warnings generated.
     18