#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*/ addition_tests();
int /*<<< orphan*/ conversion_to_fp_test();
int /*<<< orphan*/ division_tests();
int /*<<< orphan*/ multiplication_tests();
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ subtraction_tests();
int main(void) {
  printf("--------------------\nRunning Unit Tests\n--------------------\n\n");
  conversion_to_fp_test();
  addition_tests();
  subtraction_tests();
  multiplication_tests();
  division_tests();
  printf("\n");
  printf("--------------------\nFinished Unit Tests\n--------------------\n\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe8a(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1030 <conversion_to_fp_test@plt>
mov    $0x0,%al
call   1080 <addition_tests@plt>
mov    $0x0,%al
call   1040 <subtraction_tests@plt>
mov    $0x0,%al
call   1070 <multiplication_tests@plt>
mov    $0x0,%al
call   1060 <division_tests@plt>
lea    0xed8(%rip),%rdi
call   1050 <printf@plt>
lea    0xe8e(%rip),%rdi
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xe88(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1050 <conversion_to_fp_test@plt>
xor    %eax,%eax
call   1090 <addition_tests@plt>
xor    %eax,%eax
call   1060 <subtraction_tests@plt>
xor    %eax,%eax
call   1080 <multiplication_tests@plt>
xor    %eax,%eax
call   1070 <division_tests@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe8d(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [63 x i8] c"--------------------\0ARunning Unit Tests\0A--------------------\0A\0A\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [64 x i8] c"--------------------\0AFinished Unit Tests\0A--------------------\0A\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str, i64 0, i64 0))
%3 = call i32 (...) @conversion_to_fp_test()
%4 = call i32 (...) @addition_tests()
%5 = call i32 (...) @subtraction_tests()
%6 = call i32 (...) @multiplication_tests()
%7 = call i32 (...) @division_tests()
%8 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.2, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@str = [62 x i8] c"--------------------\0ARunning Unit Tests\0A--------------------\0A\00"
@str.3 = [63 x i8] c"--------------------\0AFinished Unit Tests\0A--------------------\0A\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 (...) @conversion_to_fp_test()
%3 = tail call i32 (...) @addition_tests()
%4 = tail call i32 (...) @subtraction_tests()
%5 = tail call i32 (...) @multiplication_tests()
%6 = tail call i32 (...) @division_tests()
%7 = tail call i32 @putchar(i32 10)
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.3, i64 0, i64 0))
ret i32 0
}