Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
jemalloc_new
/
ffbb7dac3d669697ab8b39367994a58e0c1fa42d
/
.
/
test
/
integration
/
cpp
/
basic.cpp
blob: 4a87a3bae29bc908a4ac155ba77555d343052cc4 [
file
] [
log
] [
blame
]
#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
));
}