#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_entity(int /*<<< orphan*/, char *,
                                             char *);
void test_clearsilver_template_comment_entities() {
  test_parser_verify_entity(
      test_parser_sourcefile("clearsilver_template", " <!--comment-->"),
      "comment", "<!--comment-->");
  test_parser_verify_entity(
      test_parser_sourcefile("clearsilver_template", " <?cs\n#comment\n?>"),
      "comment", "#comment");
}


x86 assembly (clang, -O0):
<test_clearsilver_template_comment_entities>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xee3(%rip),%rsi
call   1030 <test_parser_sourcefile@plt>
mov    %eax,%edi
lea    0xef8(%rip),%rsi
lea    0xecf(%rip),%rdx
call   1040 <test_parser_verify_entity@plt>
lea    0xead(%rip),%rdi
lea    0xecb(%rip),%rsi
call   1030 <test_parser_sourcefile@plt>
mov    %eax,%edi
lea    0xed0(%rip),%rsi
lea    0xec8(%rip),%rdx
call   1040 <test_parser_verify_entity@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_clearsilver_template_comment_entities>:
push   %r14
push   %rbx
push   %rax
lea    0xed5(%rip),%r14
lea    0xee3(%rip),%rsi
mov    %r14,%rdi
call   1030 <test_parser_sourcefile@plt>
lea    0xef7(%rip),%rbx
lea    0xece(%rip),%rdx
mov    %eax,%edi
mov    %rbx,%rsi
call   1040 <test_parser_verify_entity@plt>
lea    0xecc(%rip),%rsi
mov    %r14,%rdi
call   1030 <test_parser_sourcefile@plt>
lea    0xecf(%rip),%rdx
mov    %eax,%edi
mov    %rbx,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1040 <test_parser_verify_entity@plt>

LLVM IR (-O0):
@.str = [21 x i8] c"clearsilver_template\00"
@.str.1 = [16 x i8] c" <!--comment-->\00"
@.str.2 = [8 x i8] c"comment\00"
@.str.3 = [15 x i8] c"<!--comment-->\00"
@.str.4 = [18 x i8] c" <?cs\0A#comment\0A?>\00"
@.str.5 = [9 x i8] c"#comment\00"
define void @test_clearsilver_template_comment_entities() {
%1 = call i32 @test_parser_sourcefile(i8* getelementptr inbounds ([21 x i8], [21 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_entity(i32 %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%3 = call i32 @test_parser_sourcefile(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
%4 = call i32 @test_parser_verify_entity(i32 %3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [21 x i8] c"clearsilver_template\00"
@.str.1 = [16 x i8] c" <!--comment-->\00"
@.str.2 = [8 x i8] c"comment\00"
@.str.3 = [15 x i8] c"<!--comment-->\00"
@.str.4 = [18 x i8] c" <?cs\0A#comment\0A?>\00"
@.str.5 = [9 x i8] c"#comment\00"
define void @test_clearsilver_template_comment_entities() {
%1 = tail call i32 @test_parser_sourcefile(i8* getelementptr inbounds ([21 x i8], [21 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_entity(i32 %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%3 = tail call i32 @test_parser_sourcefile(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
%4 = tail call i32 @test_parser_verify_entity(i32 %3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
ret void
}