Files

11 lines
226 B
C++
Raw Permalink Normal View History

2026-08-03 18:42:47 +08:00
#include "MemoryDebug.h"
#include "Test.h"
TEST_CASE("VLA Classic Alloc", "[VLA_Classic]")
{
const std::size_t size = 10;
auto ptr = VLACalloc(int, size);
REQUIRE(pymol::test::isArrayZero(ptr, size));
VLAFree(ptr);
}