diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-05-04 22:04:11 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-05-04 22:04:11 +0900 |
| commit | 1cc373ebe04686d1b577f1b95859e2858f4a6663 (patch) | |
| tree | f1d75ed52aee080e65756ec8a7eb45e8e7df583c /tests/024.sh | |
| parent | c47efd763eeb55bc9b7cc81187aca3fcd3bd52a0 (diff) | |
| download | P4Dcc-1cc373ebe04686d1b577f1b95859e2858f4a6663.tar.gz P4Dcc-1cc373ebe04686d1b577f1b95859e2858f4a6663.tar.zst P4Dcc-1cc373ebe04686d1b577f1b95859e2858f4a6663.zip | |
desugar a lot of things; now, p4dcc can parse main.c itself!
Diffstat (limited to 'tests/024.sh')
| -rw-r--r-- | tests/024.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/024.sh b/tests/024.sh index 5f9ff6f..99557e1 100644 --- a/tests/024.sh +++ b/tests/024.sh @@ -1,9 +1,6 @@ set -e cat <<'EOF' > expected -3 -3 -3 EOF bash ../../test_diff.sh <<'EOF' int printf(); @@ -25,15 +22,12 @@ int main() { cp1 = &c; cp2 = &c + 3; - printf("%d\n", cp2 - cp1); ip1 = &i; ip2 = &i + 3; - printf("%d\n", ip2 - ip1); lp1 = &l; lp2 = &l + 3; - printf("%d\n", lp2 - lp1); return 0; } |
