aboutsummaryrefslogtreecommitdiff
path: root/tools/clang/blink_gc_plugin/tests/class_requires_trace_method_tmpl.cpp
blob: 7c9405a5b05d81087b9f76fcaaa8ae37b50f150e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 "class_requires_trace_method_tmpl.h"

namespace blink {

// Does not need a Trace method.
class NoTrace : public TemplatedObject<PartObjectA> { };

// Needs a Trace method.
class NeedsTrace : public TemplatedObject<PartObjectB> { };

}