// File: /workspace/github_c_makefile_star2_O1/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 0x217c8(%rip), %xmm0    # 0x55920
leaq 0x30(%rsp), %rax
movaps %xmm0, (%rax)
movw $0xa, 0x10(%rax)
leaq 0x18(%rdi), %rsi
movq %rax, %rdi
callq 0x41c8c
leaq 0x28(%rsp), %r8
movq %rax, (%r8)
leaq 0x8(%rsp), %rcx
movq $0x0, (%rcx)
leaq 0x2124e(%rip), %rsi     # 0x553db
leaq 0x2166f(%rip), %rdx     # 0x55803
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x3605e
cmpb $0x0, (%rbx)
je 0x3431c
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
movq 0x28(%rsp), %rax
movq (%rax), %r8
leaq 0x21658(%rip), %rsi     # 0x5581d
leaq 0x21659(%rip), %rdx     # 0x55825
leaq 0x21661(%rip), %rcx     # 0x55834
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x150d6
cmpb $0x0, (%rbx)
je 0x34335
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
leaq 0x8(%rsp), %rcx
movl $0x5, (%rcx)
movq 0x28(%rsp), %r8
addq $0x8, %r8
leaq 0x23160(%rip), %rsi     # 0x57370
leaq 0x21623(%rip), %rdx     # 0x5583a
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x3352d
cmpb $0x0, (%rbx)
je 0x343d0
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
leaq 0x8(%rsp), %rcx
movb $0x0, (%rcx)
movq 0x28(%rsp), %r8
addq $0x10, %r8
leaq 0x2001f(%rip), %rsi     # 0x54270
leaq 0x215f4(%rip), %rdx     # 0x5584c
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x3670e
cmpb $0x0, (%rbx)
je 0x3446b
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
leaq 0x8(%rsp), %rcx
movb $0x1, (%rcx)
movq 0x28(%rsp), %r8
addq $0x11, %r8
leaq 0x1f498(%rip), %rsi     # 0x5372a
leaq 0x215cb(%rip), %rdx     # 0x55864
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x3670e
cmpb $0x0, (%rbx)
je 0x34506
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
movq 0x28(%rsp), %rax
movq 0x18(%rax), %rax
leaq 0x8(%rsp), %r8
movq %rax, (%r8)
leaq 0x10(%rsp), %rcx
movq $0x0, (%rcx)
leaq 0x210fc(%rip), %rsi     # 0x553db
leaq 0x21593(%rip), %rdx     # 0x55879
leaq 0x18(%rsp), %rbx
movq %rbx, %rdi
callq 0x36346
cmpb $0x0, (%rbx)
jne 0x34683
leaq 0x8(%rsp), %rdi
callq 0x12eee
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x34619
movq (%rax), %r8
jmp 0x34620
leaq 0x8(%rsp), %rdi
callq 0x12eee
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x34355
movq (%rax), %r8
jmp 0x3435c
leaq 0x8(%rsp), %rdi
callq 0x12eee
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x343f0
movq (%rax), %r8
jmp 0x343f7
leaq 0x24af7(%rip), %r8      # 0x58e53
leaq 0x2147f(%rip), %rdx     # 0x557e2
leaq 0x10(%rsp), %rdi
movl $0x2, %esi
movl $0x29, %ecx
callq 0x10bb8
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10c56
leaq 0x10(%rsp), %rdi
callq 0x10c24
cmpq $0x0, 0x8(%rsp)
je 0x343bf
movl $0x1, %edi
callq 0x10bb4
testb %al, %al
je 0x343b6
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x343b6
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
jmp 0x3468f
leaq 0x8(%rsp), %rdi
callq 0x12eee
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x3448b
movq (%rax), %r8
jmp 0x34492
leaq 0x24a5c(%rip), %r8      # 0x58e53
leaq 0x213e4(%rip), %rdx     # 0x557e2
leaq 0x10(%rsp), %rdi
movl $0x2, %esi
movl $0x2b, %ecx
callq 0x10bb8
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10c56
leaq 0x10(%rsp), %rdi
callq 0x10c24
cmpq $0x0, 0x8(%rsp)
je 0x3445a
movl $0x1, %edi
callq 0x10bb4
testb %al, %al
je 0x34451
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x34451
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
jmp 0x3468f
leaq 0x8(%rsp), %rdi
callq 0x12eee
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x34526
movq (%rax), %r8
jmp 0x3452d
leaq 0x249c1(%rip), %r8      # 0x58e53
leaq 0x21349(%rip), %rdx     # 0x557e2
leaq 0x10(%rsp), %rdi
movl $0x2, %esi
movl $0x2c, %ecx
callq 0x10bb8
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10c56
leaq 0x10(%rsp), %rdi
callq 0x10c24
cmpq $0x0, 0x8(%rsp)
je 0x344f5
movl $0x1, %edi
callq 0x10bb4
testb %al, %al
je 0x344ec
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x344ec
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
jmp 0x3468f
leaq 0x8(%rsp), %rdi
callq 0x12eee
movq 0x20(%rsp), %rax
testq %rax, %rax
je 0x345a1
movq (%rax), %r8
jmp 0x345a8
leaq 0x24926(%rip), %r8      # 0x58e53
leaq 0x212ae(%rip), %rdx     # 0x557e2
leaq 0x10(%rsp), %rdi
movl $0x2, %esi
movl $0x2d, %ecx
callq 0x10bb8
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10c56
leaq 0x10(%rsp), %rdi
callq 0x10c24
cmpq $0x0, 0x8(%rsp)
je 0x34590
movl $0x1, %edi
callq 0x10bb4
testb %al, %al
je 0x34587
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x34587
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
jmp 0x3468f
leaq 0x248ab(%rip), %r8      # 0x58e53
leaq 0x21233(%rip), %rdx     # 0x557e2
leaq 0x10(%rsp), %rdi
movl $0x2, %esi
movl $0x2e, %ecx
callq 0x10bb8
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10c56
leaq 0x10(%rsp), %rdi
callq 0x10c24
cmpq $0x0, 0x8(%rsp)
je 0x3460b
movl $0x1, %edi
callq 0x10bb4
testb %al, %al
je 0x34602
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x34602
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
jmp 0x3468f
leaq 0x24833(%rip), %r8      # 0x58e53
leaq 0x211bb(%rip), %rdx     # 0x557e2
leaq 0x10(%rsp), %rdi
movl $0x2, %esi
movl $0x2f, %ecx
callq 0x10bb8
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x10c56
leaq 0x10(%rsp), %rdi
callq 0x10c24
cmpq $0x0, 0x8(%rsp)
je 0x34683
movl $0x1, %edi
callq 0x10bb4
testb %al, %al
je 0x3467a
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3467a
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x2c81c
addq $0x50, %rsp
popq %rbx
retq
jmp 0x34706
jmp 0x346d3
jmp 0x346e2
jmp 0x346f1
jmp 0x34706
jmp 0x34706
jmp 0x34706
jmp 0x346d3
jmp 0x346e2
jmp 0x346f1
jmp 0x34706
jmp 0x34706
jmp 0x34706
jmp 0x346d3
jmp 0x346e2
jmp 0x346f1
jmp 0x34706
jmp 0x34706
jmp 0x34706
jmp 0x346d3
jmp 0x346e2
jmp 0x346f1
jmp 0x34706
jmp 0x34706
jmp 0x34706
jmp 0x346d3
jmp 0x346e2
jmp 0x346f1
jmp 0x34706
jmp 0x34706
jmp 0x34706
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x10c24
jmp 0x346e5
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x31faa
jmp 0x346f4
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x31fbc
movq %rbx, %rdi
callq 0xcbb0
movq %rax, %rdi
callq 0x28baf