diff --git a/tests/Basic/Basic.cpp b/tests/Basic/Basic.cpp index 2b0fe58d..27c6e3a5 100644 --- a/tests/Basic/Basic.cpp +++ b/tests/Basic/Basic.cpp @@ -231,26 +231,3 @@ Bar::Item operator |(Bar::Item left, Bar::Item right) { return left | right; } - -TestDelegates::TestDelegates() : A(Double), B(Double), - C(&TestDelegates::Triple) -{} - - -TestCopyConstructorRef::TestCopyConstructorRef() -{ -} - -TestCopyConstructorRef::TestCopyConstructorRef(const TestCopyConstructorRef& other) -{ - A = other.A; - B = other.B; -} - -TestArraysPointers::TestArraysPointers(MyEnum *values, int count) -{ - if (values && count) Value = values[0]; -} - -int TestGetterSetterToProperties::getWidth() { return 640; } -int TestGetterSetterToProperties::getHeight() { return 480; } \ No newline at end of file diff --git a/tests/Basic/Basic.h b/tests/Basic/Basic.h index 37037f12..abfe6a7f 100644 --- a/tests/Basic/Basic.h +++ b/tests/Basic/Basic.h @@ -256,6 +256,10 @@ struct DLL_API TestDelegates MemberDelegate C; }; +TestDelegates::TestDelegates() : A(Double), B(Double), C(&TestDelegates::Triple) +{ +} + // Tests delegate generation for attributed function types typedef int(__cdecl *AttributedDelegate)(int n); DLL_API int __cdecl Double(int n) { return n * 2; } @@ -310,6 +314,16 @@ public: float B; }; +TestCopyConstructorRef::TestCopyConstructorRef() +{ +} + +TestCopyConstructorRef::TestCopyConstructorRef(const TestCopyConstructorRef& other) +{ + A = other.A; + B = other.B; +} + template struct EmptyNamedNestedEnum { @@ -375,8 +389,16 @@ public: MyEnum Value; }; +TestArraysPointers::TestArraysPointers(MyEnum *values, int count) +{ + if (values && count) Value = values[0]; +} + struct DLL_API TestGetterSetterToProperties { int getWidth(); int getHeight(); }; + +int TestGetterSetterToProperties::getWidth() { return 640; } +int TestGetterSetterToProperties::getHeight() { return 480; }