mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-04 18:28:30 +00:00
Add more CTL content
This commit is contained in:
parent
38921dc46b
commit
021c53ba32
56 changed files with 1747 additions and 298 deletions
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include "ctl/accumulate.h"
|
||||
#include "ctl/array.h"
|
||||
#include "libc/mem/leaks.h"
|
||||
|
||||
// #include <array>
|
||||
// #include <numeric>
|
||||
|
@ -48,4 +49,6 @@ main()
|
|||
// Test accumulation with single element
|
||||
if (ctl::accumulate(arr.begin(), arr.begin() + 1, 0) != 1)
|
||||
return 5;
|
||||
|
||||
CheckForMemoryLeaks();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue