// File: /workspace/github_cpp_makefile_star2_O1/yukioc[P]tscrpt/t-tscrpt.cpp
// Function: t_string()
void t_string() {/*{{{*/
	tscrpt_t sc;
	obj_t*o;

	//! \test hello => hello
	o = sc.eval("\"hello\"");
	mu_assert(o!=NULL);
	mu_assert(o->type=='S');
	mu_assert(o->str().compare("hello")==0);
	delete o;

	//! \test say \\"hello\\" => say "hello"
	o = sc.eval("\"say \\\"hello\\\"\"");
	mu_assert(o!=NULL);
	mu_assert(o->type=='S');
	mu_assert(o->str().compare("say \"hello\"")==0);
	delete o;

	//! \test \\"\\" => ""
	o = sc.eval("\"\"");
	mu_assert(o!=NULL);
	mu_assert(o->type=='S');
	mu_assert(o->str().compare("")==0);
	delete o;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x2778
leaq 0x2c21(%rip), %rsi      # 0x747b
movq %rbx, %rdi
callq 0x27ec
movq %rax, %r14
movq %rax, %rbx
incl 0x5906(%rip)            # 0xa174
testq %rax, %rax
jne 0x489a
incl 0x58f3(%rip)            # 0xa16c
leaq 0x2b2a(%rip), %rdi      # 0x73aa
leaq 0x2b41(%rip), %rsi      # 0x73c8
leaq 0x2d54(%rip), %rcx      # 0x75e2
movl $0x89, %edx
xorl %eax, %eax
callq 0x2040
incl 0x58d4(%rip)            # 0xa174
cmpb $0x53, (%rbx)
je 0x48cc
incl 0x58c1(%rip)            # 0xa16c
leaq 0x2af8(%rip), %rdi      # 0x73aa
leaq 0x2b0f(%rip), %rsi      # 0x73c8
leaq 0x2d86(%rip), %rcx      # 0x7646
movl $0x8a, %edx
xorl %eax, %eax
callq 0x2040
incl 0x58a2(%rip)            # 0xa174
movq %rbx, %rdi
callq 0x2662
leaq 0x2afc(%rip), %rsi      # 0x73dd
movq %rax, %rdi
callq 0x2080
testl %eax, %eax
je 0x4914
incl 0x5879(%rip)            # 0xa16c
leaq 0x2ab0(%rip), %rdi      # 0x73aa
leaq 0x2ac7(%rip), %rsi      # 0x73c8
leaq 0x2d4b(%rip), %rcx      # 0x7653
movl $0x8b, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x492c
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
leaq 0x2d30(%rip), %rsi      # 0x7670
movq %rsp, %rdi
callq 0x27ec
movq %rax, %r14
movq %rax, %rbx
incl 0x5820(%rip)            # 0xa174
testq %rax, %rax
jne 0x4980
incl 0x580d(%rip)            # 0xa16c
leaq 0x2a44(%rip), %rdi      # 0x73aa
leaq 0x2a5b(%rip), %rsi      # 0x73c8
leaq 0x2c6e(%rip), %rcx      # 0x75e2
movl $0x90, %edx
xorl %eax, %eax
callq 0x2040
incl 0x57ee(%rip)            # 0xa174
cmpb $0x53, (%rbx)
je 0x49b2
incl 0x57db(%rip)            # 0xa16c
leaq 0x2a12(%rip), %rdi      # 0x73aa
leaq 0x2a29(%rip), %rsi      # 0x73c8
leaq 0x2ca0(%rip), %rcx      # 0x7646
movl $0x91, %edx
xorl %eax, %eax
callq 0x2040
incl 0x57bc(%rip)            # 0xa174
movq %rbx, %rdi
callq 0x2662
leaq 0x2ab0(%rip), %rsi      # 0x7477
movq %rax, %rdi
callq 0x2080
testl %eax, %eax
je 0x49fa
incl 0x5793(%rip)            # 0xa16c
leaq 0x29ca(%rip), %rdi      # 0x73aa
leaq 0x29e1(%rip), %rsi      # 0x73c8
leaq 0x2c92(%rip), %rcx      # 0x7680
movl $0x92, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x4a12
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
leaq 0x2e88(%rip), %rsi      # 0x78ae
movq %rsp, %rdi
callq 0x27ec
movq %rax, %r14
movq %rax, %rbx
incl 0x573a(%rip)            # 0xa174
testq %rax, %rax
jne 0x4a66
incl 0x5727(%rip)            # 0xa16c
leaq 0x295e(%rip), %rdi      # 0x73aa
leaq 0x2975(%rip), %rsi      # 0x73c8
leaq 0x2b88(%rip), %rcx      # 0x75e2
movl $0x97, %edx
xorl %eax, %eax
callq 0x2040
incl 0x5708(%rip)            # 0xa174
cmpb $0x53, (%rbx)
je 0x4a98
incl 0x56f5(%rip)            # 0xa16c
leaq 0x292c(%rip), %rdi      # 0x73aa
leaq 0x2943(%rip), %rsi      # 0x73c8
leaq 0x2bba(%rip), %rcx      # 0x7646
movl $0x98, %edx
xorl %eax, %eax
callq 0x2040
incl 0x56d6(%rip)            # 0xa174
movq %rbx, %rdi
callq 0x2662
leaq 0x291a(%rip), %rsi      # 0x73c7
movq %rax, %rdi
callq 0x2080
testl %eax, %eax
je 0x4ae0
incl 0x56ad(%rip)            # 0xa16c
leaq 0x28e4(%rip), %rdi      # 0x73aa
leaq 0x28fb(%rip), %rsi      # 0x73c8
leaq 0x2bd1(%rip), %rcx      # 0x76a5
movl $0x99, %edx
xorl %eax, %eax
callq 0x2040
movq 0x8(%rbx), %rdi
addq $0x18, %r14
cmpq %r14, %rdi
je 0x4af8
movq (%r14), %rsi
incq %rsi
callq 0x2150
movl $0x30, %esi
movq %rbx, %rdi
callq 0x2150
movq %rsp, %rdi
callq 0x2780
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x2780
movq %rbx, %rdi
callq 0x2240