aboutsummaryrefslogtreecommitdiff
path: root/tools/clang/blink_gc_plugin/tests/legacy_naming/part_object_to_gc_derived_class.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/clang/blink_gc_plugin/tests/legacy_naming/part_object_to_gc_derived_class.cpp')
-rw-r--r--tools/clang/blink_gc_plugin/tests/legacy_naming/part_object_to_gc_derived_class.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/clang/blink_gc_plugin/tests/legacy_naming/part_object_to_gc_derived_class.cpp b/tools/clang/blink_gc_plugin/tests/legacy_naming/part_object_to_gc_derived_class.cpp
new file mode 100644
index 00000000..2da86619
--- /dev/null
+++ b/tools/clang/blink_gc_plugin/tests/legacy_naming/part_object_to_gc_derived_class.cpp
@@ -0,0 +1,14 @@
+// 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 "part_object_to_gc_derived_class.h"
+
+namespace blink {
+
+void B::trace(Visitor* visitor)
+{
+ visitor->trace(m_a);
+}
+
+}