From a3573c83cd6cc6ffb78069c4e724675ba5b34375 Mon Sep 17 00:00:00 2001 From: kalsprite Date: Wed, 12 Aug 2026 18:52:33 -0700 Subject: [PATCH] fix long -> int64_t for win64 --- tests/issues/test_issue_sysv_abi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/issues/test_issue_sysv_abi.c b/tests/issues/test_issue_sysv_abi.c index 0c7de35a1..933775f94 100644 --- a/tests/issues/test_issue_sysv_abi.c +++ b/tests/issues/test_issue_sysv_abi.c @@ -4,8 +4,11 @@ // where the struct before it went. If the aggregate consumes the wrong number or // the wrong file of registers, the following argument is read from the wrong // place deterministically rather than by scratch-register coincidence. +// -typedef struct { long a; float b; } Pad_Int_Float; +#include + +typedef struct { int64_t a; float b; } Pad_Int_Float; typedef struct { float a; double b; } Pad_Float_Double; typedef struct { float a, b; } No_Pad; typedef struct { struct { float x; } a; double b; } Nested;