Mercurial > hg > Papers > 2021 > anatofuz-master
diff paper/src/pop2test.cbc @ 37:b8cb6fcd9342
...
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 31 Jan 2021 21:04:41 +0900 |
parents | |
children | ae00fdac2e99 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/paper/src/pop2test.cbc Sun Jan 31 21:04:41 2021 +0900 @@ -0,0 +1,13 @@ +__code pop2Test(struct StackTestImpl3* stackTest, struct Stack* stack, __code next(...)) { + goto stack->pop2(pop2Test1); +} + + +__code pop2Test1(struct StackTestImpl3* stackTest, union Data* data, union Data* data1, struct Stack* stack, __code next(...)) { + String* str = (String*)data; + String* str2 = (String*)data1; + + printf("%d\n", str->size); + printf("%d\n", str2->size); + goto next(...); +}