#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_rhtml_comment() {
  test_parser_verify_parse2(
      test_parser_sourcefile("rhtml", "<%\n #comment\n%>"), "html", "<%\n%>",
      "", 0, "ruby", "", "#comment\n", 0);
}


x86 assembly (clang, -O0):
<test_rhtml_comment>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
lea    0xed1(%rip),%rdi
lea    0xed0(%rip),%rsi
call   1040 <test_parser_sourcefile@plt>
mov    %eax,%edi
lea    0xebd(%rip),%rsi
lea    0xecb(%rip),%rdx
lea    0xed8(%rip),%r10
xor    %r8d,%r8d
lea    0xec0(%rip),%r9
lea    0xebe(%rip),%rax
mov    %r10,%rcx
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_rhtml_comment>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0xed7(%rip),%rsi
call   1040 <test_parser_sourcefile@plt>
sub    $0x8,%rsp
lea    0xee2(%rip),%r10
lea    0xee4(%rip),%rcx
lea    0xeb4(%rip),%rsi
lea    0xec2(%rip),%rdx
lea    0xec1(%rip),%r9
mov    %eax,%edi
xor    %r8d,%r8d
push   $0x0
push   %r10
push   %rcx
call   1030 <test_parser_verify_parse2@plt>
add    $0x20,%rsp
pop    %rax
ret

LLVM IR (-O0):
@.str = [6 x i8] c"rhtml\00"
@.str.1 = [16 x i8] c"<%\0A #comment\0A%>\00"
@.str.2 = [5 x i8] c"html\00"
@.str.3 = [6 x i8] c"<%\0A%>\00"
@.str.4 = [1 x i8] zeroinitializer
@.str.5 = [5 x i8] c"ruby\00"
@.str.6 = [10 x i8] c"#comment\0A\00"
define void @test_rhtml_comment() {
%1 = call i32 @test_parser_sourcefile(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 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 ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 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 ([1 x i8], [1 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i32 0)
ret void
}

LLVM IR (-O2):
@.str = [6 x i8] c"rhtml\00"
@.str.1 = [16 x i8] c"<%\0A #comment\0A%>\00"
@.str.2 = [5 x i8] c"html\00"
@.str.3 = [6 x i8] c"<%\0A%>\00"
@.str.4 = [1 x i8] zeroinitializer
@.str.5 = [5 x i8] c"ruby\00"
@.str.6 = [10 x i8] c"#comment\0A\00"
define void @test_rhtml_comment() {
%1 = tail call i32 @test_parser_sourcefile(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 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 ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 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 ([1 x i8], [1 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i32 0)
ret void
}