Browse Source

Moved the test for virtual bases to CSharp.h because of unrelated bugs in C++/CLI.

The bugs lead to uncompilable code and break the build. They have been reported at https://github.com/mono/CppSharp/issues/668 and https://github.com/mono/CppSharp/issues/669.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/661/head
Dimitar Dobrev 9 years ago
parent
commit
f5689cff15
  1. 4
      tests/CSharp/CSharp.h
  2. 5
      tests/Common/Common.h

4
tests/CSharp/CSharp.h

@ -875,6 +875,10 @@ public: @@ -875,6 +875,10 @@ public:
static bool dtorCalled;
};
class DLL_API ClassWithVirtualBase : public virtual Foo
{
};
namespace NamespaceA
{
CS_VALUE_TYPE class DLL_API A

5
tests/Common/Common.h

@ -678,11 +678,6 @@ public: @@ -678,11 +678,6 @@ public:
int Value;
};
class DLL_API ClassWithVirtualBase : public virtual ClassC
{
};
// Test decltype
int Expr = 0;
DLL_API decltype(Expr) TestDecltype()

Loading…
Cancel
Save