// File: /workspace/github_cpp_makefile_star2_O1/wagnerflo[P]inipp/tests.cc
// Function: malformed_invoker()
BOOST_AUTO_TEST_CASE( malformed )
{
  // we use a single ifstream
  std::ifstream cstream("tests-malformed.conf");

  // The test config has two lines with distinct errors on them. So we
  // construct a inipp::inifile twice without rewinding the ifstream
  // in between. Both times an error should be thrown.
  BOOST_REQUIRE_THROW(inipp::inifile cfile(cstream), inipp::syntax_error);
  BOOST_REQUIRE_THROW(inipp::inifile cfile(cstream), inipp::syntax_error);

  // But no error afterwards.
  BOOST_REQUIRE_NO_THROW(inipp::inifile cfile(cstream));
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
leaq -0x1e0(%rbp), %rbx
movl $0x198, %edx            # imm = 0x198
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe260
movq %rbx, %rdi
callq 0xe640
leaq -0x58(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0xe530
leaq 0x2ba68(%rip), %rsi     # 0x57d01
leaq -0x1e0(%rbp), %rdi
movl $0x9, %edx
callq 0xe530
leaq 0x2f549(%rip), %rsi     # 0x5b7fa
leaq -0x1e0(%rbp), %rdi
movl $0xe, %edx
callq 0xe530
leaq -0x1d8(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0xe730
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rbx, %rsi
callq 0xe5c0
movq (%rbx), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2c2fa
movq -0x38(%rbp), %rsi
incq %rsi
callq 0xe4b0
movq -0x68(%rbp), %rbx
movq -0x60(%rbp), %r14
callq 0x1ee2f
movq 0x5154a(%rip), %rdx     # 0x7d858
leaq 0x5153b(%rip), %rdi     # 0x7d850
xorl %esi, %esi
movq %rbx, %rcx
movq %r14, %r8
callq 0xe710
leaq 0x2b49e(%rip), %r13     # 0x577c7
movq %r13, 0x51508(%rip)     # 0x7d838
leaq 0x2b498(%rip), %r12     # 0x577cf
movq %r12, 0x51502(%rip)     # 0x7d840
movq $0x59, 0x514ff(%rip) # 0x7d848
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x2c35e
movq -0x58(%rbp), %rsi
incq %rsi
callq 0xe4b0
movq 0x4ec53(%rip), %rsi     # 0x7afb8
leaq -0x1e0(%rbp), %rdi
callq 0xe230
leaq -0x170(%rbp), %rdi
callq 0xe1a0
leaq -0x1e0(%rbp), %rbx
movl $0x198, %edx            # imm = 0x198
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe260
movq %rbx, %rdi
callq 0xe640
movq %r15, 0x178(%rbx)
movq $0x0, 0x180(%rbx)
movb $0x0, 0x188(%rbx)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0xe530
leaq 0x2b932(%rip), %rsi     # 0x57d01
leaq -0x1e0(%rbp), %rdi
movl $0x9, %edx
callq 0xe530
leaq 0x2f422(%rip), %rsi     # 0x5b809
leaq -0x1e0(%rbp), %rdi
movl $0xf, %edx
callq 0xe530
leaq -0x1d8(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0xe730
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rbx, %rsi
callq 0xe5c0
movq (%rbx), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2c430
movq -0x38(%rbp), %rsi
incq %rsi
callq 0xe4b0
movq -0x68(%rbp), %rbx
movq -0x60(%rbp), %r14
callq 0x1ee2f
movq 0x51414(%rip), %rdx     # 0x7d858
leaq 0x51405(%rip), %rdi     # 0x7d850
xorl %esi, %esi
movq %rbx, %rcx
movq %r14, %r8
callq 0xe710
movq %r13, 0x513d9(%rip)     # 0x7d838
movq %r12, 0x513da(%rip)     # 0x7d840
movq $0x59, 0x513d7(%rip) # 0x7d848
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x2c486
movq -0x58(%rbp), %rsi
incq %rsi
callq 0xe4b0
movq 0x4eb2b(%rip), %rsi     # 0x7afb8
leaq -0x1e0(%rbp), %rdi
callq 0xe230
leaq -0x170(%rbp), %rdi
callq 0xe1a0
leaq -0x1e0(%rbp), %rbx
movl $0x198, %edx            # imm = 0x198
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe260
movq %rbx, %rdi
callq 0xe640
movq %r15, 0x178(%rbx)
movq $0x0, 0x180(%rbx)
movb $0x0, 0x188(%rbx)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0xe530
leaq 0x2b80a(%rip), %rsi     # 0x57d01
leaq -0x1e0(%rbp), %rdi
movl $0x9, %edx
callq 0xe530
leaq 0x2f30a(%rip), %rsi     # 0x5b819
leaq -0x1e0(%rbp), %rdi
movl $0xc, %edx
callq 0xe530
leaq -0x1d8(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0xe730
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rbx, %rsi
callq 0xe5c0
movq (%rbx), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2c558
movq -0x38(%rbp), %rsi
incq %rsi
callq 0xe4b0
movq -0x68(%rbp), %rbx
movq -0x60(%rbp), %r14
callq 0x1ee2f
movq 0x512ec(%rip), %rdx     # 0x7d858
leaq 0x512dd(%rip), %rdi     # 0x7d850
xorl %esi, %esi
movq %rbx, %rcx
movq %r14, %r8
callq 0xe710
movq %r13, 0x512b1(%rip)     # 0x7d838
movq %r12, 0x512b2(%rip)     # 0x7d840
movq $0x59, 0x512af(%rip) # 0x7d848
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x2c5ae
movq -0x58(%rbp), %rsi
incq %rsi
callq 0xe4b0
movq 0x4ea03(%rip), %rsi     # 0x7afb8
leaq -0x1e0(%rbp), %rdi
callq 0xe230
leaq -0x170(%rbp), %rdi
callq 0xe1a0
callq 0x2c854
leaq -0x1e0(%rbp), %rbx
movl $0x198, %edx            # imm = 0x198
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe260
movq %rbx, %rdi
callq 0xe640
movq %r15, 0x178(%rbx)
movq $0x0, 0x180(%rbx)
movb $0x0, 0x188(%rbx)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0xe530
leaq 0x2b6dd(%rip), %rsi     # 0x57d01
leaq -0x1e0(%rbp), %rdi
movl $0x9, %edx
callq 0xe530
leaq 0x2f1ea(%rip), %rsi     # 0x5b826
leaq -0x1e0(%rbp), %rdi
movl $0x12, %edx
callq 0xe530
leaq -0x1d8(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0xe730
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rbx, %rsi
callq 0xe5c0
movq (%rbx), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2c685
movq -0x38(%rbp), %rsi
incq %rsi
callq 0xe4b0
movq -0x68(%rbp), %rbx
movq -0x60(%rbp), %r14
callq 0x1ee2f
movq 0x511bf(%rip), %rdx     # 0x7d858
leaq 0x511b0(%rip), %rdi     # 0x7d850
xorl %esi, %esi
movq %rbx, %rcx
movq %r14, %r8
callq 0xe710
movq %r13, 0x51184(%rip)     # 0x7d838
movq %r12, 0x51185(%rip)     # 0x7d840
movq $0x59, 0x51182(%rip) # 0x7d848
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x2c6db
movq -0x58(%rbp), %rsi
incq %rsi
callq 0xe4b0
movq 0x4e8d6(%rip), %rsi     # 0x7afb8
leaq -0x1e0(%rbp), %rdi
callq 0xe230
leaq -0x170(%rbp), %rdi
callq 0xe1a0
leaq -0x1e0(%rbp), %rbx
movl $0x198, %edx            # imm = 0x198
movq %rbx, %rdi
xorl %esi, %esi
callq 0xe260
movq %rbx, %rdi
callq 0xe640
movq %r15, 0x178(%rbx)
movq $0x0, 0x180(%rbx)
movb $0x0, 0x188(%rbx)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %rbx, %rdi
callq 0xe530
leaq 0x2b5b5(%rip), %rsi     # 0x57d01
leaq -0x1e0(%rbp), %rdi
movl $0x9, %edx
callq 0xe530
leaq 0x2f0d5(%rip), %rsi     # 0x5b839
leaq -0x1e0(%rbp), %rdi
movl $0xe, %edx
callq 0xe530
leaq -0x1d8(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0xe730
leaq -0x68(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rbx, %rsi
callq 0xe5c0
movq (%rbx), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2c7ad
movq -0x38(%rbp), %rsi
incq %rsi
callq 0xe4b0
movq -0x68(%rbp), %rbx
movq -0x60(%rbp), %r14
callq 0x1ee2f
movq 0x51097(%rip), %rdx     # 0x7d858
leaq 0x51088(%rip), %rdi     # 0x7d850
xorl %esi, %esi
movq %rbx, %rcx
movq %r14, %r8
callq 0xe710
movq %r13, 0x5105c(%rip)     # 0x7d838
movq %r12, 0x5105d(%rip)     # 0x7d840
movq $0x59, 0x5105a(%rip) # 0x7d848
movq -0x68(%rbp), %rdi
cmpq %r15, %rdi
je 0x2c803
movq -0x58(%rbp), %rsi
incq %rsi
callq 0xe4b0
movq 0x4e7ae(%rip), %rsi     # 0x7afb8
leaq -0x1e0(%rbp), %rdi
callq 0xe230
leaq -0x170(%rbp), %rdi
callq 0xe1a0
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2c83c
jmp 0x2c83c
jmp 0x2c83c
jmp 0x2c83c
movq %rax, %rbx
leaq -0x1e0(%rbp), %rdi
callq 0x3575e
movq %rbx, %rdi
callq 0xe840
nop