#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*/ test_parser_sourcefile(char *, char *);
int /*<<< orphan*/ test_parser_verify_parse2(int /*<<< orphan*/, char *, char *,
                                             char *, int /*<<< orphan*/, char *,
                                             char *, char *,
                                             int /*<<< orphan*/);
void test_jsp_comment() {
  test_parser_verify_parse2(test_parser_sourcefile("jsp", " <% //comment\n%>"),
                            "java", "", "<% //comment\n", 0, "html", "%>", "",
                            0);
}


x86 assembly (clang, -O0):
<test_jsp_comment>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
lea    0xed1(%rip),%rdi
lea    0xece(%rip),%rsi
call   1040 <test_parser_sourcefile@plt>
mov    %eax,%edi
lea    0xed1(%rip),%rsi
lea    0xedc(%rip),%rax
lea    0xec8(%rip),%rcx
xor    %r8d,%r8d
lea    0xecc(%rip),%r9
lea    0xeaf(%rip),%r10
mov    %rax,%rdx
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
movl   $0x0,0x10(%rsp)
call   1030 <test_parser_verify_parse2@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_jsp_comment>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0xed5(%rip),%rsi
call   1040 <test_parser_sourcefile@plt>
sub    $0x8,%rsp
lea    0xee8(%rip),%rdx
lea    0xecc(%rip),%r10
lea    0xec8(%rip),%rsi
lea    0xec6(%rip),%rcx
lea    0xecd(%rip),%r9
mov    %eax,%edi
xor    %r8d,%r8d
push   $0x0
push   %rdx
push   %r10
call   1030 <test_parser_verify_parse2@plt>
add    $0x20,%rsp
pop    %rax
ret

LLVM IR (-O0):
@.str = [4 x i8] c"jsp\00"
@.str.1 = [17 x i8] c" <% //comment\0A%>\00"
@.str.2 = [5 x i8] c"java\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [14 x i8] c"<% //comment\0A\00"
@.str.5 = [5 x i8] c"html\00"
@.str.6 = [3 x i8] c"%>\00"
define void @test_jsp_comment() {
%1 = call i32 @test_parser_sourcefile(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @test_parser_verify_parse2(i32 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0), i32 0)
ret void
}

LLVM IR (-O2):
@.str = [4 x i8] c"jsp\00"
@.str.1 = [17 x i8] c" <% //comment\0A%>\00"
@.str.2 = [5 x i8] c"java\00"
@.str.3 = [1 x i8] zeroinitializer
@.str.4 = [14 x i8] c"<% //comment\0A\00"
@.str.5 = [5 x i8] c"html\00"
@.str.6 = [3 x i8] c"%>\00"
define void @test_jsp_comment() {
%1 = tail call i32 @test_parser_sourcefile(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @test_parser_verify_parse2(i32 %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.3, i64 0, i64 0), i32 0)
ret void
}