aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/023.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-05-04 15:40:44 +0900
committernsfisis <nsfisis@gmail.com>2025-05-04 15:40:44 +0900
commite121612e7636a32f6b3b1944c41a45c190984f3d (patch)
treee67a5343f58a5b6544e0335428f8f7538ce09abf /tests/023.sh
parent1a224ae3f0e9565e0740288c176967659d856928 (diff)
downloadP4Dcc-e121612e7636a32f6b3b1944c41a45c190984f3d.tar.gz
P4Dcc-e121612e7636a32f6b3b1944c41a45c190984f3d.tar.zst
P4Dcc-e121612e7636a32f6b3b1944c41a45c190984f3d.zip
pointer arithmetic operations
Diffstat (limited to 'tests/023.sh')
-rw-r--r--tests/023.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/023.sh b/tests/023.sh
index 86e2aa6..cb77c22 100644
--- a/tests/023.sh
+++ b/tests/023.sh
@@ -18,6 +18,8 @@ sizeof(long***) = 8
sizeof(void***) = 8
EOF
bash ../../test_diff.sh <<'EOF'
+int printf();
+
int main() {
printf("sizeof(int) = %d\n", sizeof(int));
printf("sizeof(int*) = %d\n", sizeof(int*));