aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-05-08 23:36:33 +0900
committernsfisis <nsfisis@gmail.com>2025-05-08 23:36:33 +0900
commite8068fbe25c84e62299495fab1b1b1475e35ef56 (patch)
tree5e07baf5a7b042863464acd87368792d6c524454 /tests
parentad400b7377433fb4bc30d883c9a8389f78e3565d (diff)
downloadducc-e8068fbe25c84e62299495fab1b1b1475e35ef56.tar.gz
ducc-e8068fbe25c84e62299495fab1b1b1475e35ef56.tar.zst
ducc-e8068fbe25c84e62299495fab1b1b1475e35ef56.zip
support ellipsis in functiion parameters
Diffstat (limited to 'tests')
-rw-r--r--tests/045.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/045.sh b/tests/045.sh
index 18f8e76..f788b62 100644
--- a/tests/045.sh
+++ b/tests/045.sh
@@ -3,17 +3,19 @@ set -e
cat <<'EOF' > expected
EOF
bash ../../test_diff.sh <<'EOF'
+typedef long size_t;
+
int atoi(const char*);
-void* calloc(long, long);
+void* calloc(size_t, size_t);
void exit(int);
int getchar(void);
int isalnum(int);
int isalpha(int);
int isdigit(int);
int isspace(int);
-void* memcpy(void*, void*, long);
-int printf();
-int sprintf();
+void* memcpy(void*, void*, size_t);
+int printf(const char*, ...);
+int sprintf(char*, const char*, ...);
int strcmp(const char*, const char*);
char* strstr(const char*, const char*);