aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-05-07 23:37:41 +0900
committernsfisis <nsfisis@gmail.com>2025-05-07 23:37:41 +0900
commit4f88c6b1b511f2e84b0a0256b032c3e9764bcc3e (patch)
tree635d1f35d567ecd8e46f3a1aacaa0c25cce6526e /tests
parentd33eb250f566dafda9cfe0019c8b61f3b25cbbf4 (diff)
downloadducc-4f88c6b1b511f2e84b0a0256b032c3e9764bcc3e.tar.gz
ducc-4f88c6b1b511f2e84b0a0256b032c3e9764bcc3e.tar.zst
ducc-4f88c6b1b511f2e84b0a0256b032c3e9764bcc3e.zip
support func params without names
Diffstat (limited to 'tests')
-rw-r--r--tests/045.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/045.sh b/tests/045.sh
new file mode 100644
index 0000000..5bbb001
--- /dev/null
+++ b/tests/045.sh
@@ -0,0 +1,19 @@
+set -e
+
+cat <<'EOF' > expected
+EOF
+bash ../../test_diff.sh <<'EOF'
+int atoi(char*);
+void* calloc(long, long);
+void exit(int);
+int getchar(void);
+int isalnum(int);
+int isalpha(int);
+int isdigit(int);
+int isspace(int);
+void* memcpy(void*, void*, long);
+int strcmp(char*, char*);
+char* strstr(char*, char*);
+
+int main() { return 0; }
+EOF