// File: /workspace/github_cpp_makefile_star2_O2/wagnerflo[P]inipp/tests.cc
// Function: malformed::test_method()
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 $0x408, %rsp            # imm = 0x408
leaq 0x29446(%rip), %rsi     # 0x4fd05
leaq -0x428(%rbp), %rdi
pushq $0x8
popq %rdx
callq 0xf8e0
leaq 0x28eec(%rip), %r15     # 0x4f7c1
leaq -0x220(%rbp), %rsi
movq %r15, (%rsi)
leaq 0x28ee3(%rip), %r12     # 0x4f7c9
movq %r12, 0x8(%rsi)
leaq 0x2ff88(%rip), %r13     # 0x56879
leaq -0x210(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
pushq $0x61
popq %rdx
callq 0x1c630
leaq -0xc0(%rbp), %rdi
leaq -0x428(%rbp), %rsi
callq 0x303b4
leaq -0x200(%rbp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
leaq -0x1f0(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
pushq $0x61
popq %rdx
callq 0x1c630
xorl %eax, %eax
leaq -0x60(%rbp), %rdi
movb %al, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
leaq -0x48(%rbp), %rsi
movb %al, 0x8(%rsi)
leaq 0x533c5(%rip), %rax     # 0x79d20
movq %rax, (%rsi)
leaq 0x5408b(%rip), %rax     # 0x7a9f0
movq %rax, 0x10(%rsi)
leaq 0x293aa(%rip), %rax     # 0x4fd1a
movq %rax, 0x18(%rsi)
leaq -0x1e0(%rbp), %rdx
movq %r15, (%rdx)
movq %r12, 0x8(%rdx)
andq $0x0, (%rsp)
pushq $0x61
popq %rcx
pushq $0x2
popq %r8
pushq $0x1
popq %r9
xorl %eax, %eax
callq 0x19028
leaq -0x50(%rbp), %rdi
callq 0x33c0e
leaq -0xc0(%rbp), %rdi
callq 0x31234
leaq -0x1a0(%rbp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
leaq -0x190(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
pushq $0x62
popq %rdx
callq 0x1c630
leaq -0xc0(%rbp), %rdi
leaq -0x428(%rbp), %rsi
callq 0x303b4
leaq -0x180(%rbp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
leaq -0x170(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
pushq $0x62
popq %rdx
callq 0x1c630
xorl %eax, %eax
leaq -0x60(%rbp), %rdi
movb %al, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
leaq -0x48(%rbp), %rsi
movb %al, 0x8(%rsi)
leaq 0x532fa(%rip), %rax     # 0x79d20
movq %rax, (%rsi)
leaq 0x53fc0(%rip), %rax     # 0x7a9f0
movq %rax, 0x10(%rsi)
leaq 0x292df(%rip), %rax     # 0x4fd1a
movq %rax, 0x18(%rsi)
leaq -0x160(%rbp), %rdx
movq %r15, (%rdx)
movq %r12, 0x8(%rdx)
andq $0x0, (%rsp)
pushq $0x62
popq %rcx
pushq $0x2
popq %r8
pushq $0x1
popq %r9
xorl %eax, %eax
callq 0x19028
leaq -0x50(%rbp), %rdi
callq 0x33c0e
leaq -0xc0(%rbp), %rdi
callq 0x31234
leaq -0xc0(%rbp), %rdi
leaq -0x428(%rbp), %rsi
callq 0x303b4
leaq -0x120(%rbp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
leaq -0x110(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
pushq $0x65
popq %rdx
callq 0x1c630
leaq -0x60(%rbp), %rdi
movb $0x1, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
leaq -0x48(%rbp), %rsi
movb $0x0, 0x8(%rsi)
leaq 0x53253(%rip), %rax     # 0x79d20
movq %rax, (%rsi)
leaq 0x53f19(%rip), %rax     # 0x7a9f0
movq %rax, 0x10(%rsi)
leaq 0x292a1(%rip), %rax     # 0x4fd83
movq %rax, 0x18(%rsi)
leaq -0x100(%rbp), %rdx
movq %r15, (%rdx)
movq %r12, 0x8(%rdx)
andq $0x0, (%rsp)
pushq $0x65
popq %rcx
pushq $0x2
popq %r8
pushq $0x1
popq %r9
xorl %eax, %eax
callq 0x19028
leaq -0x50(%rbp), %rdi
callq 0x33c0e
leaq -0xc0(%rbp), %rdi
callq 0x31234
leaq -0x428(%rbp), %rdi
callq 0xf150
addq $0x408, %rsp            # imm = 0x408
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdx, %r14
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x33c0e
jmp 0x26b74
movq %rdx, %r14
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x33c0e
jmp 0x26b8b
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x33c0e
jmp 0x26b9f
movq %rdx, %r14
movq %rax, %rbx
leaq -0xc0(%rbp), %rdi
callq 0x31234
jmp 0x26c7d
movq %rdx, %r14
movq %rax, %rbx
leaq -0xc0(%rbp), %rdi
callq 0x31234
jmp 0x26d4a
movq %rax, %rbx
leaq -0xc0(%rbp), %rdi
callq 0x31234
jmp 0x26bba
jmp 0x26c77
jmp 0x26d44
movq %rax, %rbx
movq %rbx, %rdi
callq 0xf210
leaq -0xf0(%rbp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
leaq -0xe0(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
pushq $0x65
popq %rdx
callq 0x1c630
xorl %eax, %eax
leaq -0x48(%rbp), %rdi
movb %al, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
leaq -0xc0(%rbp), %rsi
movb %al, 0x8(%rsi)
leaq 0x5301a(%rip), %rax     # 0x79c20
movq %rax, (%rsi)
leaq 0x53de0(%rip), %rax     # 0x7a9f0
movq %rax, 0x10(%rsi)
leaq 0x2919e(%rip), %rax     # 0x4fdb9
movq %rax, 0x18(%rsi)
leaq -0xd0(%rbp), %rdx
movq %r15, (%rdx)
movq %r12, 0x8(%rdx)
andq $0x0, (%rsp)
pushq $0x65
popq %rcx
pushq $0x2
popq %r8
pushq $0x1
popq %r9
xorl %eax, %eax
callq 0x19028
leaq -0x38(%rbp), %rdi
callq 0x33c0e
callq 0xf800
jmp 0x26b20
jmp 0x26df1
movq %rax, %rbx
leaq -0x38(%rbp), %rdi
callq 0x33c0e
jmp 0x26c6d
movq %rax, %rbx
callq 0xf800
jmp 0x26e0c
movq %rdx, %r14
movq %rax, %rbx
cmpl $0x1, %r14d
jne 0x26e0c
movq %rbx, %rdi
callq 0xf210
leaq -0x150(%rbp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
leaq -0x140(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
pushq $0x62
popq %rdx
callq 0x1c630
leaq -0x48(%rbp), %rdi
movb $0x1, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
leaq -0xc0(%rbp), %rsi
movb $0x0, 0x8(%rsi)
leaq 0x5308d(%rip), %rax     # 0x79d60
movq %rax, (%rsi)
leaq 0x53d13(%rip), %rax     # 0x7a9f0
movq %rax, 0x10(%rsi)
leaq 0x29068(%rip), %rax     # 0x4fd50
movq %rax, 0x18(%rsi)
leaq -0x130(%rbp), %rdx
movq %r15, (%rdx)
movq %r12, 0x8(%rdx)
andq $0x0, (%rsp)
pushq $0x62
popq %rcx
pushq $0x2
popq %r8
pushq $0x1
popq %r9
xorl %eax, %eax
callq 0x19028
leaq -0x38(%rbp), %rdi
callq 0x33c0e
callq 0xf800
jmp 0x26a79
jmp 0x26df1
movq %rax, %rbx
leaq -0x38(%rbp), %rdi
callq 0x33c0e
jmp 0x26d3a
movq %rax, %rbx
callq 0xf800
jmp 0x26e0c
movq %rdx, %r14
movq %rax, %rbx
cmpl $0x1, %r14d
jne 0x26e0c
movq %rbx, %rdi
callq 0xf210
leaq -0x1d0(%rbp), %rsi
movq %r15, (%rsi)
movq %r12, 0x8(%rsi)
leaq -0x1c0(%rbp), %rcx
movq %r13, (%rcx)
movq %r13, 0x8(%rcx)
pushq $0x61
popq %rdx
callq 0x1c630
leaq -0x48(%rbp), %rdi
movb $0x1, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
leaq -0xc0(%rbp), %rsi
movb $0x0, 0x8(%rsi)
leaq 0x52fc0(%rip), %rax     # 0x79d60
movq %rax, (%rsi)
leaq 0x53c46(%rip), %rax     # 0x7a9f0
movq %rax, 0x10(%rsi)
leaq 0x28f9b(%rip), %rax     # 0x4fd50
movq %rax, 0x18(%rsi)
leaq -0x1b0(%rbp), %rdx
movq %r15, (%rdx)
movq %r12, 0x8(%rdx)
andq $0x0, (%rsp)
pushq $0x61
popq %rcx
pushq $0x2
popq %r8
pushq $0x1
popq %r9
xorl %eax, %eax
callq 0x19028
leaq -0x38(%rbp), %rdi
callq 0x33c0e
callq 0xf800
jmp 0x269ae
movq %rax, %rbx
jmp 0x26e0c
movq %rax, %rbx
leaq -0x38(%rbp), %rdi
callq 0x33c0e
jmp 0x26e07
movq %rax, %rbx
callq 0xf800
leaq -0x428(%rbp), %rdi
callq 0xf150
movq %rbx, %rdi
callq 0xf880
movq %rax, %rdi
callq 0x2ae3b