diff --git a/tests/CL.h b/tests/CL.h new file mode 100644 index 00000000..29abcf5f --- /dev/null +++ b/tests/CL.h @@ -0,0 +1,7 @@ +#pragma once + +#include "Tests.h" + +class DLL_API CL { + +}; \ No newline at end of file diff --git a/tests/CSharp/CSharp.cpp b/tests/CSharp/CSharp.cpp index 64716b44..6e3ad024 100644 --- a/tests/CSharp/CSharp.cpp +++ b/tests/CSharp/CSharp.cpp @@ -1,5 +1,7 @@ #include "CSharp.h" +void myfn(CL cl); + Foo::Foo(const QString& name) { } diff --git a/tests/CSharp/CSharp.h b/tests/CSharp/CSharp.h index faffaf76..f927f886 100644 --- a/tests/CSharp/CSharp.h +++ b/tests/CSharp/CSharp.h @@ -10,6 +10,7 @@ #include "AnotherUnit.h" #include "ExcludedUnit.hpp" #include "CSharpTemplates.h" +#include "../CL.h" struct SmallPOD { @@ -17,6 +18,8 @@ struct SmallPOD int b; }; +DLL_API void myfn(CL cl); + class DLL_API Foo { public: