Index: tools/clang/blink_gc_plugin/tests/ignore_fields.cpp |
diff --git a/tools/clang/blink_gc_plugin/tests/ignore_fields.cpp b/tools/clang/blink_gc_plugin/tests/ignore_fields.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..118af75424a6ec892fcd4c9bba743b5bb1ebec56 |
--- /dev/null |
+++ b/tools/clang/blink_gc_plugin/tests/ignore_fields.cpp |
@@ -0,0 +1,15 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ignore_fields.h" |
+ |
+namespace blink { |
+ |
+void C::trace(Visitor* visitor) |
+{ |
+ // Missing trace of m_one. |
+ // Not missing ignored field m_two. |
+} |
+ |
+} |