Fix last perror test

This commit is contained in:
2025-07-24 16:30:06 +02:00
parent 715f944b6b
commit 89b50c83ba

View File

@@ -294,7 +294,7 @@ _start:
; TEST 7: perror('Test') ;rax=-999 ; TEST 7: perror('Test') ;rax=-999
printTest(perror_invalid2) printTest(perror_invalid2)
mov rax, -999 mov rax, -999
xor rdi, rdi lea rdi, [rel perrorStr]
call perror call perror
assert_eq(-999) assert_eq(-999)
%endif %endif