// File: /workspace/github_cpp_makefile_star2_O1/dsharlet[P]array/test/array_lifetime.cpp
// Function: nda::test_array_copy_init_lifetime_body()
TEST(array_copy_init_lifetime) {
  movable_custom_alloc::reset_lifetime_counters();
  immovable_custom_alloc::reset_lifetime_counters();
  test_copy_init_lifetime<std_alloc>();
  test_copy_init_lifetime<movable_custom_alloc>();
  test_copy_init_lifetime<immovable_custom_alloc>();
  test_copy_init_lifetime<auto_alloc_big>();
  test_copy_init_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, 0xc410b(%rip)     # 0xe5258
movq %rax, 0xc4114(%rip)     # 0xe5268
movq %rax, 0xc4105(%rip)     # 0xe5260
movq %rax, 0xc410e(%rip)     # 0xe5270
callq 0x24eb0
callq 0x251f9
callq 0x25540
callq 0x25887
callq 0x25bd0
movq 0xc40d6(%rip), %rbx     # 0xe5258
leaq 0x18(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x84e1b(%rip), %rsi     # 0xa5fad
leaq 0x84e39(%rip), %rdx     # 0xa5fd2
leaq 0x8(%rsp), %rdi
callq 0xd0b8
xorl %esi, %esi
cmpq $0x1, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf0a
leaq 0x80491(%rip), %rsi     # 0xa1654
leaq 0x28(%rsp), %rdi
callq 0x18a16
leaq 0x84e01(%rip), %rsi     # 0xa5fd5
movq %rax, %rdi
callq 0x23f9c
leaq 0x84147(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x2120a
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc4053(%rip), %rsi     # 0xe5258
callq 0x2110
leaq 0x80443(%rip), %rsi     # 0xa1654
movq %rbx, %rdi
callq 0x18a16
leaq 0x8773c(%rip), %rsi     # 0xa895c
movq %rax, %rdi
callq 0x18a16
leaq 0x840fb(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x21254
movq %rbx, %rdi
addq $0x10, %rdi
movl $0x1, %esi
callq 0x22f0
leaq 0x9710e(%rip), %rsi     # 0xb8369
movq %rbx, %rdi
callq 0x18a16
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x21284
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq 0xc3fd5(%rip), %rbx     # 0xe5260
leaq 0x8(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x84d11(%rip), %rsi     # 0xa5fab
leaq 0x84d31(%rip), %rdx     # 0xa5fd2
callq 0xd0b8
xorl %esi, %esi
cmpq $0x1, %rbx
sete %sil
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xbf0a
leaq 0x8038e(%rip), %rsi     # 0xa1654
leaq 0x28(%rsp), %rdi
callq 0x18a16
leaq 0x84cfc(%rip), %rsi     # 0xa5fd3
movq %rax, %rdi
callq 0x23fd4
leaq 0x84044(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x2130d
movq %rbx, %rdi
addq $0x10, %rdi
movq 0xc3f58(%rip), %rsi     # 0xe5260
callq 0x2110
leaq 0x80340(%rip), %rsi     # 0xa1654
movq %rbx, %rdi
callq 0x18a16
leaq 0x87639(%rip), %rsi     # 0xa895c
movq %rax, %rdi
callq 0x18a16
leaq 0x83ff8(%rip), %rsi     # 0xa532a
movq %rax, %rdi
callq 0x18a16
movq %rax, %rbx
cmpb $0x1, 0x188(%rax)
jne 0x21357
movq %rbx, %rdi
addq $0x10, %rdi
movl $0x1, %esi
callq 0x22f0
leaq 0x9700b(%rip), %rsi     # 0xb8369
movq %rbx, %rdi
callq 0x18a16
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x21387
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r14
retq
jmp 0x21394
movq %rax, %rbx
jmp 0x213d7
jmp 0x213a4
jmp 0x213b3
jmp 0x2139f
movq %rax, %rbx
jmp 0x213c0
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbf62
jmp 0x213c0
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0xbf62
movq 0x8(%rsp), %rdi
cmpq %r14, %rdi
je 0x213d7
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21f0
movq %rbx, %rdi
callq 0x2300
movq %rax, %rdi
callq 0xc036