diff options
author | Yann Herklotz <git@yannherklotz.com> | 2021-11-09 09:27:57 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2021-11-09 09:27:57 +0000 |
commit | 36e0e45e7c8f93bf6f733197bf19f277a5e11248 (patch) | |
tree | 57fba6537eebccdac64adffd5b03f2ea0352bb8a /examples/cond_return.c | |
parent | 8125547cd8d74385a327fce26111f5e27c3d2b45 (diff) | |
download | gsa-parser-36e0e45e7c8f93bf6f733197bf19f277a5e11248.tar.gz gsa-parser-36e0e45e7c8f93bf6f733197bf19f277a5e11248.zip |
Add new files
Diffstat (limited to 'examples/cond_return.c')
-rw-r--r-- | examples/cond_return.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/cond_return.c b/examples/cond_return.c new file mode 100644 index 0000000..74bd493 --- /dev/null +++ b/examples/cond_return.c @@ -0,0 +1,7 @@ +int f(int y) { + int x = 5; + if (y == 21) { + x = 20; + } + return x; +} |