From f9535f2398aaf85b27b9bcaf57850fbe57c280f9 Mon Sep 17 00:00:00 2001 From: Christophe R Date: Sun, 9 Aug 2015 00:24:38 +0200 Subject: [PATCH] Trying to reproduce #235 --- test/core/core_type_mat4x4.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/core/core_type_mat4x4.cpp b/test/core/core_type_mat4x4.cpp index 7ce062e2..9e16c53d 100644 --- a/test/core/core_type_mat4x4.cpp +++ b/test/core/core_type_mat4x4.cpp @@ -317,10 +317,20 @@ namespace cast } }//namespace cast +struct repro +{ + repro(){ this->matrix = new glm::mat4(); } + ~repro(){delete this->matrix;} + + glm::mat4* matrix; +}; + int main() { int Error = 0; + repro Repro; + #ifdef GLM_META_PROG_HELPERS assert(glm::mat4::rows == glm::mat4::row_type::components); assert(glm::mat4::cols == glm::mat4::col_type::components);