diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-01-24 01:43:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-01-24 01:43:01 +0900 |
| commit | c780cbb6acd0e0526f2d305138190392bdc8cdd7 (patch) | |
| tree | df1edba6eb5778a00e1f4c8a5051414d5bb37e71 /tests/increment_operators.sh | |
| parent | d179d944c0633d3aa2420009335791b115f67052 (diff) | |
| download | ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.tar.gz ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.tar.zst ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.zip | |
refactor: organize test files
Diffstat (limited to 'tests/increment_operators.sh')
| -rw-r--r-- | tests/increment_operators.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/increment_operators.sh b/tests/increment_operators.sh deleted file mode 100644 index e7fb221..0000000 --- a/tests/increment_operators.sh +++ /dev/null @@ -1,28 +0,0 @@ -cat <<'EOF' > expected -44 -44 -46 -46 -44 -42 -42 -EOF - -test_diff <<'EOF' -int printf(); - -int main() { - int a = 42; - ++a; - a++; - printf("%d\n", a); - printf("%d\n", a++); - printf("%d\n", ++a); - printf("%d\n", a); - --a; - a--; - printf("%d\n", a--); - printf("%d\n", --a); - printf("%d\n", a); -} -EOF |
