Add unit test to make sure heap allocation of chai works

This commit is contained in:
Jason Turner
2014-02-26 10:50:33 -07:00
parent 20b40d3970
commit b2b9efebe3
2 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#include <chaiscript/chaiscript.hpp>
int main()
{
chaiscript::ChaiScript *chai = new chaiscript::ChaiScript();
delete chai;
return EXIT_SUCCESS;
}