diff --git a/test/import/cxx/constructor.h b/test/import/cxx/constructor.h new file mode 100644 index 000000000..6181af8b5 --- /dev/null +++ b/test/import/cxx/constructor.h @@ -0,0 +1,7 @@ +class ConstructorDeclaration { + ConstructorDeclaration(QString ¶m); +}; + +class ConstructorDefinition { + ConstructorDefinition(QString ¶m) {} +}; diff --git a/test/import/cxx/destructor.h b/test/import/cxx/destructor.h new file mode 100644 index 000000000..a24e79d2b --- /dev/null +++ b/test/import/cxx/destructor.h @@ -0,0 +1,9 @@ +class DestructorDeclaration { + DestructorDeclaration(QString ¶m); + ~DestructorDeclaration(QString ¶m); +}; + +class DestructorDefinition { + DestructorDefinition(QString ¶m) {} + ~DestructorDefinition(QString ¶m) {} +}; diff --git a/test/import/cxx/includes-local.h b/test/import/cxx/includes-local.h new file mode 100644 index 000000000..12bfee18e --- /dev/null +++ b/test/import/cxx/includes-local.h @@ -0,0 +1,2 @@ + +class includes_local {}; diff --git a/test/import/cxx/includes.h b/test/import/cxx/includes.h new file mode 100644 index 000000000..6520fa44c --- /dev/null +++ b/test/import/cxx/includes.h @@ -0,0 +1,3 @@ +#include "includes-local.h" + +class includes {}; diff --git a/test/import/cxx/virtual-methods.h b/test/import/cxx/virtual-methods.h new file mode 100644 index 000000000..1c338de0a --- /dev/null +++ b/test/import/cxx/virtual-methods.h @@ -0,0 +1,3 @@ +class VirtualMethodClass { + virtual bool Method(QString ¶m); +};