The piping for defer, though not the correct stacks in c_generator. Bedtime though

This commit is contained in:
Nathan Braswell
2016-01-25 02:53:00 -05:00
parent 83a76c36de
commit 135305fb76
5 changed files with 20 additions and 14 deletions

View File

@@ -57,6 +57,10 @@ fun main(): int {
var with_ptr = an_obj.return_this()
simple_print(with_ptr->method(2))
simple_print("\n")
{
defer simple_print("should_be_second\n")
simple_print("should be first\n")
}
return 0
}