diff options
Diffstat (limited to 'tests/041.sh')
| -rw-r--r-- | tests/041.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/041.sh b/tests/041.sh index b4bb21e..d409158 100644 --- a/tests/041.sh +++ b/tests/041.sh @@ -13,6 +13,12 @@ cat <<'EOF' > expected 2 1 0 + +56088 + +24 + +3 EOF bash ../../test_diff.sh <<'EOF' int printf(); @@ -27,6 +33,18 @@ int main() { printf("%d\n", i); } + int x = 123; + x *= 456; + printf("\n%d\n", x); + + int y = 120; + y /= 5; + printf("\n%d\n", y); + + int z = 17; + z %= 7; + printf("\n%d\n", z); + return 0; } EOF |
