#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*/ test_add_1();
int /*<<< orphan*/ test_add_2();
int /*<<< orphan*/ test_add_3();
int /*<<< orphan*/ test_add_4();
int /*<<< orphan*/ test_add_nocopy();
int /*<<< orphan*/ test_add_single();
int /*<<< orphan*/ test_empty();
int /*<<< orphan*/ test_find();
int /*<<< orphan*/ test_first();
int /*<<< orphan*/ test_remove_1();
int /*<<< orphan*/ test_remove_2();
int /*<<< orphan*/ test_remove_3();
int /*<<< orphan*/ test_remove_4();
int /*<<< orphan*/ test_remove_5();
int /*<<< orphan*/ test_remove_find();
int main(int argc, char **argv) {
  test_empty();
  test_add_single();
  test_add_nocopy();
  test_add_1();
  test_add_2();
  test_add_3();
  test_add_4();
  test_find();
  test_first();
  test_remove_find();
  test_remove_1();
  test_remove_2();
  test_remove_3();
  test_remove_4();
  test_remove_5();
  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)
mov    $0x0,%al
call   1080 <test_empty@plt>
mov    $0x0,%al
call   1110 <test_add_single@plt>
mov    $0x0,%al
call   10e0 <test_add_nocopy@plt>
mov    $0x0,%al
call   10f0 <test_add_1@plt>
mov    $0x0,%al
call   10a0 <test_add_2@plt>
mov    $0x0,%al
call   1100 <test_add_3@plt>
mov    $0x0,%al
call   1090 <test_add_4@plt>
mov    $0x0,%al
call   10b0 <test_find@plt>
mov    $0x0,%al
call   1070 <test_first@plt>
mov    $0x0,%al
call   1030 <test_remove_find@plt>
mov    $0x0,%al
call   1040 <test_remove_1@plt>
mov    $0x0,%al
call   10c0 <test_remove_2@plt>
mov    $0x0,%al
call   1050 <test_remove_3@plt>
mov    $0x0,%al
call   10d0 <test_remove_4@plt>
mov    $0x0,%al
call   1060 <test_remove_5@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1080 <test_empty@plt>
xor    %eax,%eax
call   1110 <test_add_single@plt>
xor    %eax,%eax
call   10e0 <test_add_nocopy@plt>
xor    %eax,%eax
call   10f0 <test_add_1@plt>
xor    %eax,%eax
call   10a0 <test_add_2@plt>
xor    %eax,%eax
call   1100 <test_add_3@plt>
xor    %eax,%eax
call   1090 <test_add_4@plt>
xor    %eax,%eax
call   10b0 <test_find@plt>
xor    %eax,%eax
call   1070 <test_first@plt>
xor    %eax,%eax
call   1030 <test_remove_find@plt>
xor    %eax,%eax
call   1040 <test_remove_1@plt>
xor    %eax,%eax
call   10c0 <test_remove_2@plt>
xor    %eax,%eax
call   1050 <test_remove_3@plt>
xor    %eax,%eax
call   10d0 <test_remove_4@plt>
xor    %eax,%eax
call   1060 <test_remove_5@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 = call i32 (...) @test_empty()
%7 = call i32 (...) @test_add_single()
%8 = call i32 (...) @test_add_nocopy()
%9 = call i32 (...) @test_add_1()
%10 = call i32 (...) @test_add_2()
%11 = call i32 (...) @test_add_3()
%12 = call i32 (...) @test_add_4()
%13 = call i32 (...) @test_find()
%14 = call i32 (...) @test_first()
%15 = call i32 (...) @test_remove_find()
%16 = call i32 (...) @test_remove_1()
%17 = call i32 (...) @test_remove_2()
%18 = call i32 (...) @test_remove_3()
%19 = call i32 (...) @test_remove_4()
%20 = call i32 (...) @test_remove_5()
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @test_empty()
%4 = tail call i32 (...) @test_add_single()
%5 = tail call i32 (...) @test_add_nocopy()
%6 = tail call i32 (...) @test_add_1()
%7 = tail call i32 (...) @test_add_2()
%8 = tail call i32 (...) @test_add_3()
%9 = tail call i32 (...) @test_add_4()
%10 = tail call i32 (...) @test_find()
%11 = tail call i32 (...) @test_first()
%12 = tail call i32 (...) @test_remove_find()
%13 = tail call i32 (...) @test_remove_1()
%14 = tail call i32 (...) @test_remove_2()
%15 = tail call i32 (...) @test_remove_3()
%16 = tail call i32 (...) @test_remove_4()
%17 = tail call i32 (...) @test_remove_5()
ret i32 0
}