#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_clearsilver_template_comments() {
  test_parser_verify_parse2(
      test_parser_sourcefile("clearsilver_template", " <?cs\n #comment\n?>"),
      "html", "<?cs\n?>", "", 0, "clearsilver", "", "#comment\n", 0);
}


x86 assembly (clang, -O0):
<test_clearsilver_template_comments>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
lea    0xed1(%rip),%rdi
lea    0xedf(%rip),%rsi
call   1040 <test_parser_sourcefile@plt>
mov    %eax,%edi
lea    0xee4(%rip),%rsi
lea    0xee2(%rip),%rdx
lea    0xef8(%rip),%r10
xor    %r8d,%r8d
lea    0xed9(%rip),%r9
lea    0xede(%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_clearsilver_template_comments>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0xee6(%rip),%rsi
call   1040 <test_parser_sourcefile@plt>
sub    $0x8,%rsp
lea    0xf02(%rip),%r10
lea    0xf04(%rip),%rcx
lea    0xedb(%rip),%rsi
lea    0xed9(%rip),%rdx
lea    0xeda(%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 = [21 x i8] c"clearsilver_template\00"
@.str.1 = [19 x i8] c" <?cs\0A #comment\0A?>\00"
@.str.2 = [5 x i8] c"html\00"
@.str.3 = [8 x i8] c"<?cs\0A?>\00"
@.str.4 = [1 x i8] zeroinitializer
@.str.5 = [12 x i8] c"clearsilver\00"
@.str.6 = [10 x i8] c"#comment\0A\00"
define void @test_clearsilver_template_comments() {
%1 = call i32 @test_parser_sourcefile(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 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 ([8 x i8], [8 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 ([12 x i8], [12 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 = [21 x i8] c"clearsilver_template\00"
@.str.1 = [19 x i8] c" <?cs\0A #comment\0A?>\00"
@.str.2 = [5 x i8] c"html\00"
@.str.3 = [8 x i8] c"<?cs\0A?>\00"
@.str.4 = [1 x i8] zeroinitializer
@.str.5 = [12 x i8] c"clearsilver\00"
@.str.6 = [10 x i8] c"#comment\0A\00"
define void @test_clearsilver_template_comments() {
%1 = tail call i32 @test_parser_sourcefile(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 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 ([8 x i8], [8 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 ([12 x i8], [12 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
}