#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ checkResults(char *, char *, char *, int);
void testMultiLine() {
  checkResults("abcd;\n"
               "{abcd;};\n"
               "// test;\n"
               "[1,2,3,4];\n",
               "1:0:BEGIN~EOF~\n"
               "1:1:BEGIN~;~\n"
               "1:1:STRING=abcd\n"
               "1:5:END~;~\n"
               "2:0:BEGIN~;~\n"
               "2:0:STRING=\n"
               "\n"
               "2:1:BEGIN~{~\n"
               "2:2:BEGIN~;~\n"
               "2:2:STRING=abcd\n"
               "2:6:END~;~\n"
               "2:7:END~{~\n"
               "2:8:END~;~\n"
               "3:0:BEGIN~;~\n"
               "3:0:STRING=\n"
               "\n"
               "3:1:BEGIN~/~\n"
               "3:1:STRING=// test;\n"
               "\n"
               "4:0:END~/~\n"
               "4:1:BEGIN~[~\n"
               "4:2:BEGIN~;~\n"
               "4:2:STRING=1,2,3,4\n"
               "4:9:END_MISSING~;~\n"
               "4:9:END~[~\n"
               "4:10:END~;~\n"
               "5:0:BEGIN~;~\n"
               "5:0:STRING=\n"
               "\n"
               "5:0:END_MISSING~;~\n"
               "5:0:END~EOF~\n",
               "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/"
               "outputs/2022-01-22/02-19-57/repos/jasonxhill/okavangoc/refs/"
               "heads/master/test/BracketStreamTest.c",
               717);
}


x86 assembly (clang, -O0):
<testMultiLine>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xf02(%rip),%rsi
lea    0x1070(%rip),%rdx
mov    $0x2cd,%ecx
call   1030 <checkResults@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<testMultiLine>:
lea    0xee9(%rip),%rdi
lea    0xf06(%rip),%rsi
lea    0x1074(%rip),%rdx
mov    $0x2cd,%ecx
jmp    1030 <checkResults@plt>

LLVM IR (-O0):
@.str = [36 x i8] c"abcd;\0A{abcd;};\0A// test;\0A[1,2,3,4];\0A\00"
@.str.1 = [373 x i8] c"1:0:BEGIN~EOF~\0A1:1:BEGIN~;~\0A1:1:STRING=abcd\0A1:5:END~;~\0A2:0:BEGIN~;~\0A2:0:STRING=\0A\0A2:1:BEGIN~{~\0A2:2:BEGIN~;~\0A2:2:STRING=abcd\0A2:6:END~;~\0A2:7:END~{~\0A2:8:END~;~\0A3:0:BEGIN~;~\0A3:0:STRING=\0A\0A3:1:BEGIN~/~\0A3:1:STRING=// test;\0A\0A4:0:END~/~\0A4:1:BEGIN~[~\0A4:2:BEGIN~;~\0A4:2:STRING=1,2,3,4\0A4:9:END_MISSING~;~\0A4:9:END~[~\0A4:10:END~;~\0A5:0:BEGIN~;~\0A5:0:STRING=\0A\0A5:0:END_MISSING~;~\0A5:0:END~EOF~\0A\00"
@.str.2 = [154 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jasonxhill/okavangoc/refs/heads/master/test/BracketStreamTest.c\00"
define void @testMultiLine() {
%1 = call i32 @checkResults(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([373 x i8], [373 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([154 x i8], [154 x i8]* @.str.2, i64 0, i64 0), i32 717)
ret void
}

LLVM IR (-O2):
@.str = [36 x i8] c"abcd;\0A{abcd;};\0A// test;\0A[1,2,3,4];\0A\00"
@.str.1 = [373 x i8] c"1:0:BEGIN~EOF~\0A1:1:BEGIN~;~\0A1:1:STRING=abcd\0A1:5:END~;~\0A2:0:BEGIN~;~\0A2:0:STRING=\0A\0A2:1:BEGIN~{~\0A2:2:BEGIN~;~\0A2:2:STRING=abcd\0A2:6:END~;~\0A2:7:END~{~\0A2:8:END~;~\0A3:0:BEGIN~;~\0A3:0:STRING=\0A\0A3:1:BEGIN~/~\0A3:1:STRING=// test;\0A\0A4:0:END~/~\0A4:1:BEGIN~[~\0A4:2:BEGIN~;~\0A4:2:STRING=1,2,3,4\0A4:9:END_MISSING~;~\0A4:9:END~[~\0A4:10:END~;~\0A5:0:BEGIN~;~\0A5:0:STRING=\0A\0A5:0:END_MISSING~;~\0A5:0:END~EOF~\0A\00"
@.str.2 = [154 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/jasonxhill/okavangoc/refs/heads/master/test/BracketStreamTest.c\00"
define void @testMultiLine() {
%1 = tail call i32 @checkResults(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([373 x i8], [373 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([154 x i8], [154 x i8]* @.str.2, i64 0, i64 0), i32 717)
ret void
}