diff options
author | Matthew Sotoudeh <matthew@masot.net> | 2023-07-30 21:16:09 -0700 |
---|---|---|
committer | Matthew Sotoudeh <matthew@masot.net> | 2023-07-30 21:16:09 -0700 |
commit | c8ef4cf86bb97033238e3aa5c95789ea665341b1 (patch) | |
tree | 9af6be822a495554d26691233b8031bf10833995 /c/examples/zero_init | |
parent | 4de60a709d3af497781b7467f2c6fe7e09b39595 (diff) |
C dynamic typing pass works as well
Diffstat (limited to 'c/examples/zero_init')
l---------[-rw-r--r--] | c/examples/zero_init/test.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/c/examples/zero_init/test.c b/c/examples/zero_init/test.c index 5db109a..73e2712 100644..120000 --- a/c/examples/zero_init/test.c +++ b/c/examples/zero_init/test.c @@ -1,20 +1 @@ -#include <stdio.h> - -int set_xyz() { - int xyz = 1; - return xyz; -} - -int foo() { - int xyz; - return xyz; -} - -int main() { - printf("Foo return value: %d\n", foo()); - set_xyz(); - printf("Foo return value: %d\n", foo()); - set_xyz(); - printf("Foo return value: %d\n", foo()); - return 0; -} +../../../python/examples/zero_init/test.c
\ No newline at end of file |