diff options
Diffstat (limited to 'tests/functional/13_and.sy')
| -rw-r--r-- | tests/functional/13_and.sy | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/functional/13_and.sy b/tests/functional/13_and.sy new file mode 100644 index 0000000..8c0a08a --- /dev/null +++ b/tests/functional/13_and.sy @@ -0,0 +1,12 @@ +int a; +int b; +int main(){ + a = getint(); + b = getint(); + if ( a && b ) { + return 1; + } + else { + return 0; + } +} |
