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

#ifndef INNER_CLASS_H_
#define INNER_CLASS_H_

#include "heap/stubs.h"

namespace blink {

class SomeObject {
private:
    class InnerObject : public GarbageCollected<InnerObject> {
    public:
        void Trace(Visitor*);
    private:
        Member<InnerObject> m_obj;
    };
};

}

#endif