summaryrefslogtreecommitdiff
path: root/Tests/QtAutomoc/foo.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutomoc/foo.h')
-rw-r--r--Tests/QtAutomoc/foo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/QtAutomoc/foo.h b/Tests/QtAutomoc/foo.h
index 32d4c8d8f..f23ec0739 100644
--- a/Tests/QtAutomoc/foo.h
+++ b/Tests/QtAutomoc/foo.h
@@ -16,7 +16,10 @@
#include <QObject>
-class Foo : public QObject
+class Foo
+#ifdef FOO
+ : public QObject
+#endif
{
Q_OBJECT
public: