aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-18 03:59:58 +0900
committernsfisis <nsfisis@gmail.com>2025-08-18 03:59:58 +0900
commit991245b69c53b1e2f708af34b6f829182ebf5cf2 (patch)
tree59ac5aa154ed0c60d036bacba1fdb9171f18fb94 /tests
parent2a7e1667f70c5381d3b939324cc647e51134b15c (diff)
downloadducc-991245b69c53b1e2f708af34b6f829182ebf5cf2.tar.gz
ducc-991245b69c53b1e2f708af34b6f829182ebf5cf2.tar.zst
ducc-991245b69c53b1e2f708af34b6f829182ebf5cf2.zip
refactor: define va_start() as macro instead of special form
Diffstat (limited to 'tests')
-rw-r--r--tests/063.sh23
1 files changed, 2 insertions, 21 deletions
diff --git a/tests/063.sh b/tests/063.sh
index f5f9505..a3095e8 100644
--- a/tests/063.sh
+++ b/tests/063.sh
@@ -6,28 +6,9 @@ cat <<'EOF' > expected
EOF
bash ../../test_diff.sh <<'EOF'
-int fprintf();
+#include <stdarg.h>
-// System V Application Binary Interface
-// AMD64 Architecture Processor Supplement
-// (With LP64 and ILP32 Programming Models)
-// Version 1.0
-// Figure 3.34: va_list Type Declaration
-struct __va_list__ {
- // unsigned int gp_offset;
- // unsigned int fp_offset;
- int gp_offset;
- int fp_offset;
- void* overflow_arg_area;
- void* reg_save_area;
-};
-// ducc currently does not support array type.
-// typedef struct __va_list__ va_list[1];
-typedef struct __va_list__* va_list;
-
-// va_start() is currently implemented as a special form due to the limitation of #define macro.
-void va_end(va_list args) {
-}
+int fprintf();
struct FILE;
typedef struct FILE FILE;