Index: tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.txt |
diff --git a/tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.txt b/tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..890de1073e4f258f99de97a07de2062ec0be6d4a |
--- /dev/null |
+++ b/tools/clang/blink_gc_plugin/tests/polymorphic_class_with_non_virtual_trace.txt |
@@ -0,0 +1,5 @@ |
+In file included from polymorphic_class_with_non_virtual_trace.cpp:5: |
+./polymorphic_class_with_non_virtual_trace.h:17:1: warning: [blink-gc] Left-most base class 'NonPolymorphicBase' of derived class 'IsNotLeftMostPolymorphic' must be polymorphic. |
+class NonPolymorphicBase { |
+^ |
+1 warning generated. |