aboutsummaryrefslogtreecommitdiff
path: root/tools/clang/blink_gc_plugin/tests/stack_allocated.cpp
blob: 3c4e32162a408c1fa219cfcc9af38af4079fc025 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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 "stack_allocated.h"

namespace blink {

// Verify that anon namespaces are checked.
namespace {

class AnonStackObject : public StackObject {
public:
    HeapObject* m_obj;
};

}

void HeapObject::trace(Visitor* visitor)
{
}

}