Add unit test to make sure heap allocation of chai works
This commit is contained in:
10
unittests/heap_allocated_chaiscript_test.cpp
Normal file
10
unittests/heap_allocated_chaiscript_test.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <chaiscript/chaiscript.hpp>
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
chaiscript::ChaiScript *chai = new chaiscript::ChaiScript();
|
||||
delete chai;
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
Reference in New Issue
Block a user