wip: checking if valgrind fails
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
3e79504fac
commit
8ca1ed2bd6
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ lt::test::Suite raii = [] {
|
|||
Timer {};
|
||||
}
|
||||
};
|
||||
|
||||
int *leak = new int(42); // Allocated memory, never freed
|
||||
std::cout << "Hello, Valgrind!" << *leak << std::endl;
|
||||
};
|
||||
|
||||
lt::test::Suite reset_and_elapsed_time = [] {
|
||||
|
|
Loading…
Add table
Reference in a new issue