I'm pretty sure I missed cases and introduced bugs with the new CGenerator triplit system, but I finally got all normal tests passing, and it's almost 5 in the morning, so I'm calling it a night. We have destructors and copy constructors now\! I need to work out copy assignment, but again, another day
This commit is contained in:
47
tests/test_destructor_copy_constructor.expected_results
Normal file
47
tests/test_destructor_copy_constructor.expected_results
Normal file
@@ -0,0 +1,47 @@
|
||||
destroyed b : 0!
|
||||
destroyed c : 0!
|
||||
destroyed c : 0!
|
||||
destroyed c : 0!
|
||||
destroyed c : 0!
|
||||
destroyed c : 0!
|
||||
destroyed d : 0!
|
||||
destroyed d : 0!
|
||||
destroyed d : 0!
|
||||
destroyed d : 0!
|
||||
destroyed d : 0!
|
||||
destroyed e : 0!
|
||||
destroyed g : 0!
|
||||
destroyed g : 0!
|
||||
destroyed g : 0!
|
||||
destroyed g : 0!
|
||||
destroyed g : 0!
|
||||
destroyed in_while_block : 0!
|
||||
destroyed in_while_block : 0!
|
||||
destroyed in_while_block : 0!
|
||||
destroyed in_while_block : 0!
|
||||
destroyed in_while_block : 0!
|
||||
destroyed in_while_no_block : 0!
|
||||
destroyed in_while_no_block : 0!
|
||||
destroyed in_while_no_block : 0!
|
||||
destroyed in_while_no_block : 0!
|
||||
destroyed in_while_no_block : 0!
|
||||
destroyed it_while_pre_break : 0!
|
||||
destroyed it_while_pre_continue : 0!
|
||||
destroyed it_while_pre_continue : 0!
|
||||
destroyed it_while_pre_continue : 0!
|
||||
destroyed it_while_pre_continue : 0!
|
||||
destroyed it_while_pre_continue : 0!
|
||||
destroyed j : 0!
|
||||
destroyed i : 0!
|
||||
copy_construct inFunc : 1!
|
||||
in inOutFunc
|
||||
copy_construct outFunc : 1!
|
||||
destroyed outFunc : 0!
|
||||
destroyed inFunc : 1!
|
||||
copy_construct outFunc : 2!
|
||||
destroyed outFunc : 1!
|
||||
time for the end
|
||||
destroyed outFunc : 2!
|
||||
destroyed inFunc : 0!
|
||||
destroyed a2 : 0!
|
||||
destroyed a : 0!
|
||||
Reference in New Issue
Block a user