// File: /workspace/github_c_makefile_star2_O2/deplinenoise[P]tundra/unittest/Test_IncludeScanner.cpp
// Function: IncludeScannerTest_SingleIncludeNewline_Test::TestBody()
TEST_F(IncludeScannerTest, SingleIncludeNewline)
{
  char data[] = "#include \"foo.h\"\n";
  IncludeData* incs = ScanIncludesCpp(data, &alloc);
  ASSERT_NE(nullptr, incs);

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

// Assembly:
pushq %rbx
subq $0x50, %rsp
movaps 0x1d328(%rip), %xmm0    # 0x46930
leaq 0x30(%rsp), %rax
movaps %xmm0, (%rax)
movw $0xa, 0x10(%rax)
leaq 0x18(%rdi), %rsi
movq %rax, %rdi
callq 0x342dc
leaq 0x28(%rsp), %r8
movq %rax, (%r8)
leaq 0x8(%rsp), %rcx
andq $0x0, (%rcx)
leaq 0x1cda1(%rip), %rsi     # 0x463db
leaq 0x1d1cf(%rip), %rdx     # 0x46810
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x2aafe
cmpb $0x0, (%rbx)
je 0x297ad
leaq 0x20(%rsp), %rdi
callq 0x2295e
movq 0x28(%rsp), %rax
movq (%rax), %r8
leaq 0x1d1ba(%rip), %rsi     # 0x4682a
leaq 0x1d1bb(%rip), %rdx     # 0x46832
leaq 0x1d1c3(%rip), %rcx     # 0x46841
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x13723
cmpb $0x0, (%rbx)
je 0x297c6
leaq 0x20(%rsp), %rdi
callq 0x2295e
leaq 0x8(%rsp), %rcx
movl $0x5, (%rcx)
movq 0x28(%rsp), %r8
addq $0x8, %r8
leaq 0x1ecc7(%rip), %rsi     # 0x48380
leaq 0x1d187(%rip), %rdx     # 0x46847
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x287b5
cmpb $0x0, (%rbx)
je 0x29811
leaq 0x20(%rsp), %rdi
callq 0x2295e
leaq 0x8(%rsp), %rcx
movb $0x0, (%rcx)
movq 0x28(%rsp), %r8
addq $0x10, %r8
leaq 0x1bb78(%rip), %rsi     # 0x45270
leaq 0x1d15a(%rip), %rdx     # 0x46859
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x2b0f9
cmpb $0x0, (%rbx)
je 0x2985c
leaq 0x20(%rsp), %rdi
callq 0x2295e
leaq 0x8(%rsp), %rcx
movb $0x1, (%rcx)
movq 0x28(%rsp), %r8
addq $0x11, %r8
leaq 0x1aff3(%rip), %rsi     # 0x4472a
leaq 0x1d133(%rip), %rdx     # 0x46871
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x2b0f9
cmpb $0x0, (%rbx)
je 0x298a4
leaq 0x20(%rsp), %rdi
callq 0x2295e
movq 0x28(%rsp), %rax
movq 0x18(%rax), %r8
leaq 0x1cc6d(%rip), %rsi     # 0x463db
leaq 0x1d111(%rip), %rdx     # 0x46886
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x2aad6
cmpb $0x0, (%rbx)
jne 0x29981
leaq 0x8(%rsp), %rdi
callq 0x11c8e
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x29940
movq (%rax), %r8
jmp 0x29947
leaq 0x8(%rsp), %rdi
callq 0x11c8e
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x297df
movq (%rax), %r8
jmp 0x297e6
leaq 0x8(%rsp), %rdi
callq 0x11c8e
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x2982a
movq (%rax), %r8
jmp 0x29831
leaq 0x206c1(%rip), %r8      # 0x49ea7
leaq 0x1d002(%rip), %rdx     # 0x467ef
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x29
popq %rcx
callq 0x104f8
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10576
jmp 0x29919
leaq 0x8(%rsp), %rdi
callq 0x11c8e
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x29875
movq (%rax), %r8
jmp 0x2987c
leaq 0x20676(%rip), %r8      # 0x49ea7
leaq 0x1cfb7(%rip), %rdx     # 0x467ef
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x2b
popq %rcx
callq 0x104f8
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10576
jmp 0x29919
leaq 0x8(%rsp), %rdi
callq 0x11c8e
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x298bd
movq (%rax), %r8
jmp 0x298c4
leaq 0x2062b(%rip), %r8      # 0x49ea7
leaq 0x1cf6c(%rip), %rdx     # 0x467ef
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x2c
popq %rcx
callq 0x104f8
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10576
jmp 0x29919
leaq 0x8(%rsp), %rdi
callq 0x11c8e
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x298ec
movq (%rax), %r8
jmp 0x298f3
leaq 0x205e3(%rip), %r8      # 0x49ea7
leaq 0x1cf24(%rip), %rdx     # 0x467ef
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x2d
popq %rcx
callq 0x104f8
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10576
jmp 0x29919
leaq 0x205b4(%rip), %r8      # 0x49ea7
leaq 0x1cef5(%rip), %rdx     # 0x467ef
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x2e
popq %rcx
callq 0x104f8
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10576
leaq 0x20(%rsp), %rbx
leaq 0x10(%rsp), %rdi
callq 0x10558
leaq 0x8(%rsp), %rdi
callq 0x1f8e0
movq %rbx, %rdi
callq 0x2295e
addq $0x50, %rsp
popq %rbx
retq
leaq 0x20560(%rip), %r8      # 0x49ea7
leaq 0x1cea1(%rip), %rdx     # 0x467ef
leaq 0x10(%rsp), %rdi
pushq $0x2
popq %rsi
pushq $0x2f
popq %rcx
callq 0x104f8
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10576
leaq 0x10(%rsp), %rdi
callq 0x10558
leaq 0x8(%rsp), %rdi
callq 0x1f8e0
leaq 0x20(%rsp), %rdi
jmp 0x29935
jmp 0x299a6
jmp 0x299b5
jmp 0x299c4
jmp 0x299a6
jmp 0x299b5
jmp 0x299c4
jmp 0x299a6
jmp 0x299b5
jmp 0x299c4
jmp 0x299a6
jmp 0x299b5
jmp 0x299c4
jmp 0x299a6
jmp 0x299b5
jmp 0x299c4
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x10558
jmp 0x299b8
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x1f8e0
jmp 0x299c7
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x2295e
movq %rbx, %rdi
callq 0xdbf0
nop