summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/unterminated-function-macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/unterminated-function-macro.h')
-rw-r--r--tests/auto/tools/moc/unterminated-function-macro.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/unterminated-function-macro.h b/tests/auto/tools/moc/unterminated-function-macro.h
index 813d60f0e4..60595d1536 100644
--- a/tests/auto/tools/moc/unterminated-function-macro.h
+++ b/tests/auto/tools/moc/unterminated-function-macro.h
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#ifndef UNTERMINATED_FUNCTION_MACRO_H
+#define UNTERMINATED_FUNCTION_MACRO_H
+
class Dummy : public QObject {
Q_OBJECT
}
@@ -49,3 +52,4 @@ static void foo() {
MACRO(foo
}
+#endif // UNTERMINATED_FUNCTION_MACRO_H