summaryrefslogtreecommitdiff
path: root/tests/auto/tools/moc/using-namespaces.h
blob: 3ca012116e65f91f65bf9021abc4373c22e04261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#ifndef USING_NAMESPACES_H
#define USING_NAMESPACES_H

namespace Foo {}
namespace Bar
{
    namespace Huh
    {
    }
}
namespace Top
{
}

using namespace Foo;
using namespace Bar::Huh;
using namespace ::Top;

#endif // USING_NAMESPACES_H