Warning, file /sdk/clazy/tests/incorrect-emit/bug437092.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 #include <QtCore/QObject>
0002 
0003 class Obj : public QObject
0004 {
0005 Q_OBJECT
0006 public:
0007     template<class T>
0008     void createSomeObject();
0009 Q_SIGNALS:
0010 };
0011 
0012 template<class T>
0013 void Obj::createSomeObject()
0014 {
0015 }
0016 
0017 void test() {
0018     auto obj = new Obj();
0019     obj->createSomeObject<QObject>();
0020 }