Index: tools/clang/blink_gc_plugin/tests/part_object_to_gc_derived_class.txt |
diff --git a/tools/clang/blink_gc_plugin/tests/part_object_to_gc_derived_class.txt b/tools/clang/blink_gc_plugin/tests/part_object_to_gc_derived_class.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..59701329b5384e8588ea08ac765f9f50e4cde6ab |
--- /dev/null |
+++ b/tools/clang/blink_gc_plugin/tests/part_object_to_gc_derived_class.txt |
@@ -0,0 +1,8 @@ |
+In file included from part_object_to_gc_derived_class.cpp:5: |
+./part_object_to_gc_derived_class.h:14:1: warning: [blink-gc] Class 'B' contains invalid fields. |
+class B : public GarbageCollected<B> { |
+^ |
+./part_object_to_gc_derived_class.h:18:5: note: [blink-gc] Part-object field 'm_a' to a GC derived class declared here: |
+ A m_a; |
+ ^ |
+1 warning generated. |