aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/024.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/024.sh')
-rw-r--r--tests/024.sh6
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;
}