@ -636,11 +636,20 @@ public class CommonTests : GeneratorTestFixture
@@ -636,11 +636,20 @@ public class CommonTests : GeneratorTestFixture
[Test, Ignore("We need symbols for std::string to invoke and auto-compilation of exported templates is not added yet.")]
publicvoidTestStdString()
{
// when C++ memory is deleted, it's only marked as free but not immediadely freed
// this can hide memory bugs while marshalling
// so let's use a long string to increase the chance of a crash right away
conststringt=@"This is a very long string. This is a very long string. This is a very long string. This is a very long string. This is a very long string. This is a very long string. This is a very long string. This is a very long string.