#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ srand(unsigned int);
int /*<<< orphan*/ test_arrays();
int /*<<< orphan*/ test_block_allocator();
int /*<<< orphan*/ test_lblock_allocator();
int /*<<< orphan*/ test_lstack_allocator();
int /*<<< orphan*/ test_milk();
int /*<<< orphan*/ test_stack_allocator();
int /*<<< orphan*/ test_strings();
int /*<<< orphan*/ test_thread();
int /*<<< orphan*/ test_utils();
int /*<<< orphan*/ test_whisper();
scalar_t__ time(int /*<<< orphan*/);
int main(int argc, const char *argv[]) {
  (void)argc, (void)argv;
  srand((unsigned int)time(0));
  test_strings();
  test_arrays();
  test_milk();
  test_thread();
  test_whisper();
  test_utils();
  test_stack_allocator();
  test_lstack_allocator();
  test_block_allocator();
  test_lblock_allocator();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
xor    %edi,%edi
call   1090 <time@plt>
mov    %eax,%edi
call   1080 <srand@plt>
mov    $0x0,%al
call   1060 <test_strings@plt>
mov    $0x0,%al
call   10a0 <test_arrays@plt>
mov    $0x0,%al
call   10c0 <test_milk@plt>
mov    $0x0,%al
call   1040 <test_thread@plt>
mov    $0x0,%al
call   10e0 <test_whisper@plt>
mov    $0x0,%al
call   1070 <test_utils@plt>
mov    $0x0,%al
call   10b0 <test_stack_allocator@plt>
mov    $0x0,%al
call   10d0 <test_lstack_allocator@plt>
mov    $0x0,%al
call   1030 <test_block_allocator@plt>
mov    $0x0,%al
call   1050 <test_lblock_allocator@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %edi,%edi
call   1090 <time@plt>
mov    %eax,%edi
call   1080 <srand@plt>
xor    %eax,%eax
call   1060 <test_strings@plt>
xor    %eax,%eax
call   10a0 <test_arrays@plt>
xor    %eax,%eax
call   10c0 <test_milk@plt>
xor    %eax,%eax
call   1040 <test_thread@plt>
xor    %eax,%eax
call   10e0 <test_whisper@plt>
xor    %eax,%eax
call   1070 <test_utils@plt>
xor    %eax,%eax
call   10b0 <test_stack_allocator@plt>
xor    %eax,%eax
call   10d0 <test_lstack_allocator@plt>
xor    %eax,%eax
call   1030 <test_block_allocator@plt>
xor    %eax,%eax
call   1050 <test_lblock_allocator@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = load i32, i32* %4
%7 = load i8**, i8*** %5
%8 = call i64 @time(i32 0)
%9 = trunc i64 %8 to i32
%10 = call i32 @srand(i32 %9)
%11 = call i32 (...) @test_strings()
%12 = call i32 (...) @test_arrays()
%13 = call i32 (...) @test_milk()
%14 = call i32 (...) @test_thread()
%15 = call i32 (...) @test_whisper()
%16 = call i32 (...) @test_utils()
%17 = call i32 (...) @test_stack_allocator()
%18 = call i32 (...) @test_lstack_allocator()
%19 = call i32 (...) @test_block_allocator()
%20 = call i32 (...) @test_lblock_allocator()
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i64 @time(i32 0)
%4 = trunc i64 %3 to i32
%5 = tail call i32 @srand(i32 %4)
%6 = tail call i32 (...) @test_strings()
%7 = tail call i32 (...) @test_arrays()
%8 = tail call i32 (...) @test_milk()
%9 = tail call i32 (...) @test_thread()
%10 = tail call i32 (...) @test_whisper()
%11 = tail call i32 (...) @test_utils()
%12 = tail call i32 (...) @test_stack_allocator()
%13 = tail call i32 (...) @test_lstack_allocator()
%14 = tail call i32 (...) @test_block_allocator()
%15 = tail call i32 (...) @test_lblock_allocator()
ret i32 0
}