diff options
Diffstat (limited to 'compile_data/custom_const.c')
-rw-r--r-- | compile_data/custom_const.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/compile_data/custom_const.c b/compile_data/custom_const.c new file mode 100644 index 0000000..d0126f3 --- /dev/null +++ b/compile_data/custom_const.c @@ -0,0 +1,9 @@ +int sum; +void f() { + sum = 3; +} +int main() { + sum = 1; + f(); + printf("%d\n", sum); +} |