// File: /workspace/github_cpp_makefile_star2_O3/dsharlet[P]array/test/array_lifetime.cpp
// Function: nda::test_array_clear_lifetime_body()
TEST(array_clear_lifetime) {
  movable_custom_alloc::reset_lifetime_counters();
  immovable_custom_alloc::reset_lifetime_counters();
  test_clear_lifetime<std_alloc>();
  test_clear_lifetime<movable_custom_alloc>();
  test_clear_lifetime<immovable_custom_alloc>();
  test_clear_lifetime<auto_alloc_big>();
  test_clear_lifetime<auto_alloc_small>();
  ASSERT_EQ(movable_custom_alloc::constructs, 1);
  ASSERT_EQ(immovable_custom_alloc::constructs, 1);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
xorl %eax, %eax
movq %rax, 0xc4623(%rip)     # 0xe7258
movq %rax, 0xc462c(%rip)     # 0xe7268
movq %rax, 0xc461d(%rip)     # 0xe7260
movq %rax, 0xc4626(%rip)     # 0xe7270
callq 0x3459a
callq 0x3490c
callq 0x34c4d
callq 0x34f8e
callq 0x3531f
movq 0xc45ee(%rip), %rbx     # 0xe7258
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x85143(%rip), %rsi     # 0xa7dbd
leaq 0x85161(%rip), %rdx     # 0xa7de2
leaq 0x8(%rsp), %rdi
callq 0xd14c
xorl %esi, %esi
cmpq $0x1, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf80
leaq 0x809d9(%rip), %rsi     # 0xa3684
leaq 0x28(%rsp), %rdi
callq 0x18fba
leaq 0x85129(%rip), %rsi     # 0xa7de5
movq %rax, %rdi
callq 0x249ac
leaq 0x8458b(%rip), %rsi     # 0xa7256
movq %rax, %rdi
callq 0x18fba
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x22cf2
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc456b(%rip), %rsi     # 0xe7258
callq 0x2110
leaq 0x8098b(%rip), %rsi     # 0xa3684
movq %rbx, %rdi
callq 0x18fba
leaq 0x87a64(%rip), %rsi     # 0xaa76c
movq %rax, %rdi
callq 0x18fba
leaq 0x8453f(%rip), %rsi     # 0xa7256
movq %rax, %rdi
callq 0x18fba
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x22d3c
movq %rbx, %rdi
addq $0x10, %rdi
movl $0x1, %esi
callq 0x22f0
leaq 0x97556(%rip), %rsi     # 0xba299
movq %rbx, %rdi
callq 0x18fba
leaq 0x28(%rsp), %rdi
callq 0xbfd8
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x22d6c
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq 0xc44ed(%rip), %rbx     # 0xe7260
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x85039(%rip), %rsi     # 0xa7dbb
leaq 0x85059(%rip), %rdx     # 0xa7de2
callq 0xd14c
xorl %esi, %esi
cmpq $0x1, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf80
leaq 0x808d6(%rip), %rsi     # 0xa3684
leaq 0x28(%rsp), %rdi
callq 0x18fba
leaq 0x85024(%rip), %rsi     # 0xa7de3
movq %rax, %rdi
callq 0x249e4
leaq 0x84488(%rip), %rsi     # 0xa7256
movq %rax, %rdi
callq 0x18fba
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x22df5
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc4470(%rip), %rsi     # 0xe7260
callq 0x2110
leaq 0x80888(%rip), %rsi     # 0xa3684
movq %rbx, %rdi
callq 0x18fba
leaq 0x87961(%rip), %rsi     # 0xaa76c
movq %rax, %rdi
callq 0x18fba
leaq 0x8443c(%rip), %rsi     # 0xa7256
movq %rax, %rdi
callq 0x18fba
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x22e3f
movq %rbx, %rdi
addq $0x10, %rdi
movl $0x1, %esi
callq 0x22f0
leaq 0x97453(%rip), %rsi     # 0xba299
movq %rbx, %rdi
callq 0x18fba
leaq 0x28(%rsp), %rdi
callq 0xbfd8
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x22e6f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r14
retq
jmp 0x22e7c
movq %rax, %rbx
jmp 0x22ebf
jmp 0x22e8c
jmp 0x22e9b
jmp 0x22e87
movq %rax, %rbx
jmp 0x22ea8
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbfd8
jmp 0x22ea8
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbfd8
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x22ebf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2300
movq %rax, %rdi
callq 0xc0a9