Index: tools/clang/blink_gc_plugin/tests/class_requires_trace_method.txt |
diff --git a/tools/clang/blink_gc_plugin/tests/class_requires_trace_method.txt b/tools/clang/blink_gc_plugin/tests/class_requires_trace_method.txt |
index de6fd949adda1b2c73e5762bac61a2800f7caea0..15231c106d7c509260fefcbcf3de9cbe23d5cdc2 100644 |
--- a/tools/clang/blink_gc_plugin/tests/class_requires_trace_method.txt |
+++ b/tools/clang/blink_gc_plugin/tests/class_requires_trace_method.txt |
@@ -11,4 +11,10 @@ class HeapObject : public GarbageCollected<HeapObject> { |
./class_requires_trace_method.h:22:5: note: [blink-gc] Untraced field 'm_part' declared here: |
PartObject m_part; |
^ |
-2 warnings generated. |
+./class_requires_trace_method.h:31:1: warning: [blink-gc] Class 'HeapObjectMixin' which inherits from GarbageCollectedMixin must locally declare and override trace(Visitor*) |
+class HeapObjectMixin : public GarbageCollected<HeapObjectMixin>, public Mixin { |
+^ |
+./class_requires_trace_method.h:40:1: warning: [blink-gc] Class 'HeapObjectMixin2' which inherits from GarbageCollectedMixin must locally declare and override trace(Visitor*) |
+class HeapObjectMixin2 |
+^ |
+4 warnings generated. |