Fixed a crash due to static initialization order fiasco on some platforms

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@146 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2010-04-02 09:56:37 +00:00
parent f1030c6dfd
commit a91d0975bc
5 changed files with 47 additions and 23 deletions

View file

@ -16,6 +16,11 @@
#include <turtle/object.hpp>
#include <turtle/function.hpp>
namespace
{
mock::object static_o;
}
BOOST_AUTO_TEST_CASE( verifying_an_empty_object_succeeds )
{
mock::object o;