Browse Source

Trying to reproduce #235

Christophe R 10 years ago
parent
commit
f9535f2398
1 changed files with 10 additions and 0 deletions
  1. 10 0
      test/core/core_type_mat4x4.cpp

+ 10 - 0
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);