summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/using-namespaces.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/using-namespaces.h')
-rw-r--r--tests/auto/tools/moc/using-namespaces.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/using-namespaces.h b/tests/auto/tools/moc/using-namespaces.h
index c662bb762a..64ffa96a21 100644
--- a/tests/auto/tools/moc/using-namespaces.h
+++ b/tests/auto/tools/moc/using-namespaces.h
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#ifndef USING_NAMESPACES_H
+#define USING_NAMESPACES_H
+
namespace Foo {}
namespace Bar
{
@@ -54,3 +57,4 @@ using namespace Foo;
using namespace Bar::Huh;
using namespace ::Top;
+#endif // USING_NAMESPACES_H