Files
mcaselector-lite/test/t_arith.h
2025-08-13 12:19:15 +02:00

10 lines
186 B
C

#pragma once
#include "test.h"
/* tests arithmetic shift for signed integers (rather than logical shift) */
int test_sar(void *dat) {
(void)dat;
return assert_true(-3 >> 5 == -1);
}