mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 08:15:44 +01:00
10 lines
186 B
C
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);
|
|
}
|