about summary refs log tree commit diff stats
path: root/reproducers
diff options
context:
space:
mode:
authorTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-10-14 09:21:17 +0000
committerTheofilos Augoustis <theofilos.augoustis@gmail.com>2025-10-14 09:21:17 +0000
commit41b9c7183eab9470e55bb949a1fc695261786bf1 (patch)
tree2cee561ef0ed56f06a4753223408cd345a8dc1da /reproducers
parent73612a3ee88b6746974c8fdbddf95d2d18099668 (diff)
downloadfocaccia-41b9c7183eab9470e55bb949a1fc695261786bf1.tar.gz
focaccia-41b9c7183eab9470e55bb949a1fc695261786bf1.zip
Simplify issue 2248 reproducer ta/arm64
Diffstat (limited to 'reproducers')
-rw-r--r--reproducers/issue-2248.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/reproducers/issue-2248.c b/reproducers/issue-2248.c
index 03948df..1003d56 100644
--- a/reproducers/issue-2248.c
+++ b/reproducers/issue-2248.c
@@ -1,10 +1,18 @@
 #include <stdio.h>
+#include <stdint.h>
 
-unsigned long long callme(unsigned long long _1, unsigned long long _2, unsigned long long a, unsigned long long b, unsigned long long c);
+size_t callme(size_t _1, size_t _2, size_t a, size_t b, size_t c);
 
 int main() {
-    unsigned long long ret = callme(0, 0, 0, 1, 2);
-	printf("%lld\n", ret);
-    return 0;
+    int64_t ret = callme(0, 0, 0, 1, 2);
+
+	int var = 0;
+
+	if (ret < 0)
+		var = 0;
+	else
+		var = 5;
+
+	return var;
 }