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

#ifndef C_COMMENTS_H
#define C_COMMENTS_H
#include <qobject.h>

/* test support for multi-line comments in preprocessor statements */

#if 0 /* comment starts here
       ends here */ || defined(Q_MOC_RUN) || 1

class IfdefedClass : public QObject
{
    Q_OBJECT
public:
    inline IfdefedClass() {}
};

#endif
#endif // C_COMMENTS_H