// File: /workspace/github_cpp_makefile_star2_O2/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 %rbx
subq $0x10, %rsp
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0x246c
leaq 0x300a(%rip), %rsi      # 0x7478
movq %rbx, %rdi
callq 0x24ce
movq %rax, %rbx
movl 0x5d15(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5d0d(%rip)      # 0xa194
testq %rbx, %rbx
jne 0x44b9
incl 0x5cfa(%rip)            # 0xa18c
leaq 0x2f0e(%rip), %rdi      # 0x73a7
leaq 0x2f25(%rip), %rsi      # 0x73c5
leaq 0x3138(%rip), %rcx      # 0x75df
movl $0x89, %edx
xorl %eax, %eax
callq 0x2040
movl 0x5cdb(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5cd3(%rip)      # 0xa194
cmpb $0x53, (%rbx)
je 0x44f3
incl 0x5cc0(%rip)            # 0xa18c
leaq 0x2ed4(%rip), %rdi      # 0x73a7
leaq 0x2eeb(%rip), %rsi      # 0x73c5
leaq 0x3162(%rip), %rcx      # 0x7643
movl $0x8a, %edx
xorl %eax, %eax
callq 0x2040
movl 0x5ca1(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5c99(%rip)      # 0xa194
movq %rbx, %rdi
callq 0x23f2
leaq 0x2ed0(%rip), %rsi      # 0x73da
movq %rax, %rdi
callq 0x2090
testl %eax, %eax
je 0x453d
incl 0x5c70(%rip)            # 0xa18c
leaq 0x2e84(%rip), %rdi      # 0x73a7
leaq 0x2e9b(%rip), %rsi      # 0x73c5
leaq 0x311f(%rip), %rcx      # 0x7650
movl $0x8b, %edx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
addq $0x8, %rdi
callq 0x20e0
pushq $0x30
popq %rsi
movq %rbx, %rdi
callq 0x2160
leaq 0x3112(%rip), %rsi      # 0x766d
leaq 0x8(%rsp), %rdi
callq 0x24ce
movq %rax, %rbx
movl 0x5c26(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5c1e(%rip)      # 0xa194
testq %rbx, %rbx
jne 0x45a8
incl 0x5c0b(%rip)            # 0xa18c
leaq 0x2e1f(%rip), %rdi      # 0x73a7
leaq 0x2e36(%rip), %rsi      # 0x73c5
leaq 0x3049(%rip), %rcx      # 0x75df
movl $0x90, %edx
xorl %eax, %eax
callq 0x2040
movl 0x5bec(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5be4(%rip)      # 0xa194
cmpb $0x53, (%rbx)
je 0x45e2
incl 0x5bd1(%rip)            # 0xa18c
leaq 0x2de5(%rip), %rdi      # 0x73a7
leaq 0x2dfc(%rip), %rsi      # 0x73c5
leaq 0x3073(%rip), %rcx      # 0x7643
movl $0x91, %edx
xorl %eax, %eax
callq 0x2040
movl 0x5bb2(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5baa(%rip)      # 0xa194
movq %rbx, %rdi
callq 0x23f2
leaq 0x2e7b(%rip), %rsi      # 0x7474
movq %rax, %rdi
callq 0x2090
testl %eax, %eax
je 0x462c
incl 0x5b81(%rip)            # 0xa18c
leaq 0x2d95(%rip), %rdi      # 0x73a7
leaq 0x2dac(%rip), %rsi      # 0x73c5
leaq 0x305d(%rip), %rcx      # 0x767d
movl $0x92, %edx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
addq $0x8, %rdi
callq 0x20e0
pushq $0x30
popq %rsi
movq %rbx, %rdi
callq 0x2160
leaq 0x3261(%rip), %rsi      # 0x78ab
leaq 0x8(%rsp), %rdi
callq 0x24ce
movq %rax, %rbx
movl 0x5b37(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5b2f(%rip)      # 0xa194
testq %rbx, %rbx
jne 0x4697
incl 0x5b1c(%rip)            # 0xa18c
leaq 0x2d30(%rip), %rdi      # 0x73a7
leaq 0x2d47(%rip), %rsi      # 0x73c5
leaq 0x2f5a(%rip), %rcx      # 0x75df
movl $0x97, %edx
xorl %eax, %eax
callq 0x2040
movl 0x5afd(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5af5(%rip)      # 0xa194
cmpb $0x53, (%rbx)
je 0x46d1
incl 0x5ae2(%rip)            # 0xa18c
leaq 0x2cf6(%rip), %rdi      # 0x73a7
leaq 0x2d0d(%rip), %rsi      # 0x73c5
leaq 0x2f84(%rip), %rcx      # 0x7643
movl $0x98, %edx
xorl %eax, %eax
callq 0x2040
movl 0x5ac3(%rip), %eax      # 0xa194
incl %eax
movl %eax, 0x5abb(%rip)      # 0xa194
movq %rbx, %rdi
callq 0x23f2
leaq 0x2cdc(%rip), %rsi      # 0x73c4
movq %rax, %rdi
callq 0x2090
testl %eax, %eax
je 0x471b
incl 0x5a92(%rip)            # 0xa18c
leaq 0x2ca6(%rip), %rdi      # 0x73a7
leaq 0x2cbd(%rip), %rsi      # 0x73c5
leaq 0x2f93(%rip), %rcx      # 0x76a2
movl $0x99, %edx
xorl %eax, %eax
callq 0x2040
movq %rbx, %rdi
addq $0x8, %rdi
callq 0x20e0
pushq $0x30
popq %rsi
movq %rbx, %rdi
callq 0x2160
leaq 0x8(%rsp), %rdi
callq 0x2472
addq $0x10, %rsp
popq %rbx
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2472
movq %rbx, %rdi
callq 0x2280