Browse Source

Clean up test

Christophe Riccio 7 years ago
parent
commit
9c8a348e21
1 changed files with 0 additions and 31 deletions
  1. 0 31
      test/core/core_force_pure.cpp

+ 0 - 31
test/core/core_force_pure.cpp

@@ -401,36 +401,6 @@ static int test_operator_increment()
 	return Error;
 	return Error;
 }
 }
 
 
-namespace heap
-{
-	struct A
-	{
-		float f;
-	};
-
-	struct B : public A
-	{
-		float g;
-		glm::vec4 v;
-	};
-
-	int test()
-	{
-		int Error = 0;
-
-		A* p = new B;
-		p->f = 0.f;
-		delete p;
-
-		std::size_t const Count1 = sizeof(B);
-		std::size_t const Count2 = 32;
-
-		Error += Count1 == Count2 ? 0 : 1;
-
-		return Error;
-	}
-}//namespace heap
-
 static int test_vec4_simd()
 static int test_vec4_simd()
 {
 {
 	int Error = 0;
 	int Error = 0;
@@ -458,7 +428,6 @@ int main()
 	Error += test_vec4_swizzle_partial();
 	Error += test_vec4_swizzle_partial();
 	Error += test_vec4_simd();
 	Error += test_vec4_simd();
 	Error += test_operator_increment();
 	Error += test_operator_increment();
-	Error += heap::test();
 
 
 	return Error;
 	return Error;
 }
 }