summaryrefslogtreecommitdiff
path: root/test/integration/cpp/basic.cpp
blob: 4a87a3bae29bc908a4ac155ba77555d343052cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <memory>
#include "test/jemalloc_test.h"

TEST_BEGIN(test_basic)
{
	auto foo = new long(4);
	assert_ptr_not_null(foo, "Unexpected new[] failure");
	delete foo;
}
TEST_END

int
main()
{
	return (test(
	    test_basic));
}