// File: /workspace/github_cpp_makefile_star2_O3/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, 0xc3df0(%rip)     # 0xe7258
movq %rax, 0xc3df9(%rip)     # 0xe7268
movq %rax, 0xc3dea(%rip)     # 0xe7260
movq %rax, 0xc3df3(%rip)     # 0xe7270
callq 0x3caa3
callq 0x3d391
callq 0x3dab1
callq 0x3e1d1
callq 0x3ec46
movq 0xc3dbb(%rip), %rbx     # 0xe7258
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x84b08(%rip), %rsi     # 0xa7fb5
leaq 0x84b27(%rip), %rdx     # 0xa7fdb
leaq 0x8(%rsp), %rdi
callq 0xd14c
xorl %esi, %esi
cmpq $0xd, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf80
leaq 0x801a6(%rip), %rsi     # 0xa3684
leaq 0x28(%rsp), %rdi
callq 0x18fba
leaq 0x848f6(%rip), %rsi     # 0xa7de5
movq %rax, %rdi
callq 0x249ac
leaq 0x83d58(%rip), %rsi     # 0xa7256
movq %rax, %rdi
callq 0x18fba
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x23525
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc3d38(%rip), %rsi     # 0xe7258
callq 0x2110
leaq 0x80158(%rip), %rsi     # 0xa3684
movq %rbx, %rdi
callq 0x18fba
leaq 0x81947(%rip), %rsi     # 0xa4e82
movq %rax, %rdi
callq 0x1917a
leaq 0x83d0c(%rip), %rsi     # 0xa7256
movq %rax, %rdi
callq 0x18fba
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x2356f
movq %rbx, %rdi
addq $0x10, %rdi
movl $0xd, %esi
callq 0x22f0
leaq 0x96d23(%rip), %rsi     # 0xba299
movq %rbx, %rdi
callq 0x18fba
leaq 0x28(%rsp), %rdi
callq 0xbfd8
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x2359f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq 0xc3cba(%rip), %rbx     # 0xe7260
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x849fe(%rip), %rsi     # 0xa7fb3
leaq 0x84a1f(%rip), %rdx     # 0xa7fdb
callq 0xd14c
xorl %esi, %esi
cmpq $0xd, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf80
leaq 0x800a3(%rip), %rsi     # 0xa3684
leaq 0x28(%rsp), %rdi
callq 0x18fba
leaq 0x847f1(%rip), %rsi     # 0xa7de3
movq %rax, %rdi
callq 0x249e4
leaq 0x83c55(%rip), %rsi     # 0xa7256
movq %rax, %rdi
callq 0x18fba
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x23628
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc3c3d(%rip), %rsi     # 0xe7260
callq 0x2110
leaq 0x80055(%rip), %rsi     # 0xa3684
movq %rbx, %rdi
callq 0x18fba
leaq 0x81844(%rip), %rsi     # 0xa4e82
movq %rax, %rdi
callq 0x1917a
leaq 0x83c09(%rip), %rsi     # 0xa7256
movq %rax, %rdi
callq 0x18fba
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x23672
movq %rbx, %rdi
addq $0x10, %rdi
movl $0xd, %esi
callq 0x22f0
leaq 0x96c20(%rip), %rsi     # 0xba299
movq %rbx, %rdi
callq 0x18fba
leaq 0x28(%rsp), %rdi
callq 0xbfd8
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x236a2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r14
retq
jmp 0x236af
movq %rax, %rbx
jmp 0x236f2
jmp 0x236bf
jmp 0x236ce
jmp 0x236ba
movq %rax, %rbx
jmp 0x236db
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbfd8
jmp 0x236db
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbfd8
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x236f2
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2300
movq %rax, %rdi
callq 0xc0a9