// File: /workspace/github_c_makefile_star2_O2/deplinenoise[P]tundra/unittest/Test_IncludeScanner.cpp
// Function: IncludeScannerTest_SingleIncludeNoNewLine_Test::TestBody()
TEST_F(IncludeScannerTest, SingleIncludeNoNewLine)
{
  char data[] = "#include <bar.h>";

  IncludeData* incs = ScanIncludesCpp(data, &alloc);
  ASSERT_NE(nullptr, data);

  ASSERT_STREQ("bar.h", incs->m_String);
  ASSERT_EQ(5, incs->m_StringLen);
  ASSERT_EQ(true, incs->m_IsSystemInclude);
  ASSERT_EQ(true, incs->m_ShouldFollow);
  ASSERT_EQ(nullptr, incs->m_Next);
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x38, %rsp
movaps 0x1ceaa(%rip), %xmm0    # 0x46970
leaq 0x20(%rsp), %rax
movaps %xmm0, (%rax)
movb $0x0, 0x10(%rax)
leaq 0x18(%rdi), %rsi
movq %rax, %rdi
callq 0x342dc
movq %rax, %rbx
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x11789
cmpb $0x0, (%r14)
je 0x29c34
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq (%rbx), %r8
leaq 0x1cdb2(%rip), %rsi     # 0x468be
leaq 0x1cd1f(%rip), %rdx     # 0x46832
leaq 0x1e77f(%rip), %rcx     # 0x48299
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x13723
cmpb $0x0, (%r14)
je 0x29c4b
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %rsp, %rcx
movl $0x5, (%rcx)
leaq 0x8(%rbx), %r8
leaq 0x1e831(%rip), %rsi     # 0x48380
leaq 0x1ccf1(%rip), %rdx     # 0x46847
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x287b5
cmpb $0x0, (%r14)
je 0x29c92
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %rsp, %rcx
movb $0x1, (%rcx)
leaq 0x10(%rbx), %r8
leaq 0x1aba2(%rip), %rsi     # 0x4472a
leaq 0x1ccca(%rip), %rdx     # 0x46859
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x2b0f9
cmpb $0x0, (%r14)
je 0x29cd9
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %rsp, %rcx
movb $0x1, (%rcx)
movq %rbx, %r8
addq $0x11, %r8
leaq 0x1ab66(%rip), %rsi     # 0x4472a
leaq 0x1cca6(%rip), %rdx     # 0x46871
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x2b0f9
cmpb $0x0, (%r14)
je 0x29d1d
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq 0x18(%rbx), %r8
leaq 0x1c7e4(%rip), %rsi     # 0x463db
leaq 0x1cc88(%rip), %rdx     # 0x46886
leaq 0x10(%rsp), %rbx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x2aad6
cmpb $0x0, (%rbx)
jne 0x29df0
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x29db3
movq (%rax), %r8
jmp 0x29dba
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x29c62
movq (%rax), %r8
jmp 0x29c69
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x29ca9
movq (%rax), %r8
jmp 0x29cb0
leaq 0x2023e(%rip), %r8      # 0x49ea7
leaq 0x1cb7f(%rip), %rdx     # 0x467ef
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x3e
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
jmp 0x29d8c
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x29cf0
movq (%rax), %r8
jmp 0x29cf7
leaq 0x201f7(%rip), %r8      # 0x49ea7
leaq 0x1cb38(%rip), %rdx     # 0x467ef
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x40
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
jmp 0x29d8c
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x29d34
movq (%rax), %r8
jmp 0x29d3b
leaq 0x201b0(%rip), %r8      # 0x49ea7
leaq 0x1caf1(%rip), %rdx     # 0x467ef
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x41
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
jmp 0x29d8c
movq %rsp, %rdi
callq 0x11c8e
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x29d61
movq (%rax), %r8
jmp 0x29d68
leaq 0x2016c(%rip), %r8      # 0x49ea7
leaq 0x1caad(%rip), %rdx     # 0x467ef
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x42
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
jmp 0x29d8c
leaq 0x2013f(%rip), %r8      # 0x49ea7
leaq 0x1ca80(%rip), %rdx     # 0x467ef
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x43
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
leaq 0x18(%rsp), %rbx
leaq 0x8(%rsp), %rdi
callq 0x10558
movq %rsp, %rdi
callq 0x1f8e0
movq %rbx, %rdi
callq 0x2295e
addq $0x38, %rsp
popq %rbx
popq %r14
retq
leaq 0x200ed(%rip), %r8      # 0x49ea7
leaq 0x1ca2e(%rip), %rdx     # 0x467ef
leaq 0x8(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x44
popq %rcx
callq 0x104f8
leaq 0x8(%rsp), %rdi
movq %rsp, %rsi
callq 0x10576
leaq 0x8(%rsp), %rdi
callq 0x10558
movq %rsp, %rdi
callq 0x1f8e0
leaq 0x18(%rsp), %rdi
jmp 0x29da6
jmp 0x29e15
jmp 0x29e24
jmp 0x29e31
jmp 0x29e15
jmp 0x29e24
jmp 0x29e31
jmp 0x29e15
jmp 0x29e24
jmp 0x29e31
jmp 0x29e15
jmp 0x29e24
jmp 0x29e31
jmp 0x29e15
jmp 0x29e24
jmp 0x29e31
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x10558
jmp 0x29e27
movq %rax, %rbx
movq %rsp, %rdi
callq 0x1f8e0
jmp 0x29e34
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x2295e
movq %rbx, %rdi
callq 0xdbf0