// File: /workspace/github_cpp_makefile_star2_O1/dsharlet[P]array/test/array_lifetime.cpp
// Function: nda::test_array_lifetime_leaks_body()
TEST(array_lifetime_leaks) {
  movable_custom_alloc::reset_lifetime_counters();
  immovable_custom_alloc::reset_lifetime_counters();
  test_lifetime_leaks<std_alloc>();
  test_lifetime_leaks<movable_custom_alloc>();
  test_lifetime_leaks<immovable_custom_alloc>();
  test_lifetime_leaks<auto_alloc_big>();
  test_lifetime_leaks<auto_alloc_small>();
  ASSERT_EQ(movable_custom_alloc::constructs, 13);
  ASSERT_EQ(immovable_custom_alloc::constructs, 13);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
xorl %eax, %eax
movq %rax, 0xc2800(%rip)     # 0xe5258
movq %rax, 0xc2809(%rip)     # 0xe5268
movq %rax, 0xc27fa(%rip)     # 0xe5260
movq %rax, 0xc2803(%rip)     # 0xe5270
callq 0x3c0f8
callq 0x3c9e6
callq 0x3d106
callq 0x3d826
callq 0x3e29b
movq 0xc27cb(%rip), %rbx     # 0xe5258
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x83708(%rip), %rsi     # 0xa61a5
leaq 0x83727(%rip), %rdx     # 0xa61cb
leaq 0x8(%rsp), %rdi
callq 0xd0b8
xorl %esi, %esi
cmpq $0xd, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf0a
leaq 0x7eb86(%rip), %rsi     # 0xa1654
leaq 0x28(%rsp), %rdi
callq 0x18a16
leaq 0x834f6(%rip), %rsi     # 0xa5fd5
movq %rax, %rdi
callq 0x23f9c
leaq 0x8283c(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x22b15
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc2748(%rip), %rsi     # 0xe5258
callq 0x2110
leaq 0x7eb38(%rip), %rsi     # 0xa1654
movq %rbx, %rdi
callq 0x18a16
leaq 0x8030f(%rip), %rsi     # 0xa2e3a
movq %rax, %rdi
callq 0x18bd6
leaq 0x827f0(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x22b5f
movq %rbx, %rdi
addq $0x10, %rdi
movl $0xd, %esi
callq 0x22f0
leaq 0x95803(%rip), %rsi     # 0xb8369
movq %rbx, %rdi
callq 0x18a16
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x22b8f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq 0xc26ca(%rip), %rbx     # 0xe5260
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x835fe(%rip), %rsi     # 0xa61a3
leaq 0x8361f(%rip), %rdx     # 0xa61cb
callq 0xd0b8
xorl %esi, %esi
cmpq $0xd, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf0a
leaq 0x7ea83(%rip), %rsi     # 0xa1654
leaq 0x28(%rsp), %rdi
callq 0x18a16
leaq 0x833f1(%rip), %rsi     # 0xa5fd3
movq %rax, %rdi
callq 0x23fd4
leaq 0x82739(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x22c18
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc264d(%rip), %rsi     # 0xe5260
callq 0x2110
leaq 0x7ea35(%rip), %rsi     # 0xa1654
movq %rbx, %rdi
callq 0x18a16
leaq 0x8020c(%rip), %rsi     # 0xa2e3a
movq %rax, %rdi
callq 0x18bd6
leaq 0x826ed(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x22c62
movq %rbx, %rdi
addq $0x10, %rdi
movl $0xd, %esi
callq 0x22f0
leaq 0x95700(%rip), %rsi     # 0xb8369
movq %rbx, %rdi
callq 0x18a16
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x22c92
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r14
retq
jmp 0x22c9f
movq %rax, %rbx
jmp 0x22ce2
jmp 0x22caf
jmp 0x22cbe
jmp 0x22caa
movq %rax, %rbx
jmp 0x22ccb
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbf62
jmp 0x22ccb
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x22ce2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2300
movq %rax, %rdi
callq 0xc036